summaryrefslogtreecommitdiff
path: root/clang/test/DebugInfo/KeyInstructions/flag.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/DebugInfo/KeyInstructions/flag.cpp')
-rw-r--r--clang/test/DebugInfo/KeyInstructions/flag.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/DebugInfo/KeyInstructions/flag.cpp b/clang/test/DebugInfo/KeyInstructions/flag.cpp
index 813f7e908011..e34faa6cbb34 100644
--- a/clang/test/DebugInfo/KeyInstructions/flag.cpp
+++ b/clang/test/DebugInfo/KeyInstructions/flag.cpp
@@ -3,6 +3,10 @@
//// Default: Off.
// RUN: %clang -### -target x86_64 -c -gdwarf %s 2>&1 | FileCheck %s --check-prefixes=NO-KEY-INSTRUCTIONS
+//// Help.
+// RUN %clang --help | FileCheck %s --check-prefix=HELP
+// HELP: -gkey-instructions Enable Key Instructions, which reduces the jumpiness of debug stepping in optimized C/C++ code in some debuggers. DWARF only. Implies -g.
+
// KEY-INSTRUCTIONS: "-gkey-instructions"
// NO-KEY-INSTRUCTIONS-NOT: key-instructions