Skip to content

Commit e6a423e

Browse files
committed
improve test readability
1 parent 632932a commit e6a423e

File tree

1 file changed

+6
-6
lines changed
  • clang/test/DebugInfo/KeyInstructions

1 file changed

+6
-6
lines changed

clang/test/DebugInfo/KeyInstructions/flag.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
//// Default: Off.
44
// RUN: %clang -### -target x86_64 -c -gdwarf %s 2>&1 | FileCheck %s --check-prefixes=NO-KEY-INSTRUCTIONS
55

6-
//// Help hidden.
7-
// RUN: %clang --help | FileCheck %s --check-prefix=HELP
8-
// HELP-NOT: key-instructions
9-
106
// KEY-INSTRUCTIONS: "-gkey-instructions"
11-
127
// NO-KEY-INSTRUCTIONS-NOT: key-instructions
138

14-
// RUN: %clang_cc1 %s -triple x86_64-linux-gnu -debug-info-kind=line-tables-only -emit-llvm -o - | FileCheck %s --check-prefix=SMOKETEST-OFF
9+
//// Help hidden: flag should not be visible.
10+
// RUN: %clang --help | FileCheck %s --check-prefix=HELP
11+
// HELP-NOT: key-instructions
12+
13+
// Smoke test: check for Key Instructions keywords in the IR.
1514
void f() {}
15+
// RUN: %clang_cc1 %s -triple x86_64-linux-gnu -debug-info-kind=line-tables-only -emit-llvm -o - | FileCheck %s --check-prefix=SMOKETEST-OFF
1616
// SMOKETEST-OFF-NOT: keyInstructions:
1717
// SMOKETEST-OFF-NOT: atomGroup
1818

0 commit comments

Comments
 (0)