From 17e5875c10dfb29b810529128bf5863e1872ce88 Mon Sep 17 00:00:00 2001 From: Lixuanwang Date: Tue, 19 Aug 2025 08:02:06 +0800 Subject: [PATCH] =?UTF-8?q?[deploy]=E7=A6=81=E7=94=A8-O1=E4=BB=A5=E8=B0=83?= =?UTF-8?q?=E8=AF=95=E8=B6=85=E6=97=B6=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/sysyc.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sysyc.cpp b/src/sysyc.cpp index 78930a0..4899858 100644 --- a/src/sysyc.cpp +++ b/src/sysyc.cpp @@ -70,6 +70,9 @@ void parseArgs(int argc, char **argv) { if (optLevel < 0) { cerr << "Error: Optimization level must be non-negative." << endl; usage(EXIT_FAILURE); + } else if (optLevel == 1) { + cerr << "debugging, exit..." << endl; + exit(-1); } } catch (const std::invalid_argument& ia) { cerr << "Error: Invalid argument for -O: " << optarg << endl;