We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ca2947 commit 33c9d9aCopy full SHA for 33c9d9a
clang/test/Misc/cc1as-asm-debug.s
@@ -0,0 +1,11 @@
1
+// Run cc1as with debug on empty file. Needs a known name so we can check it.
2
+// REQUIRES: x86-registered-target
3
+// RUN: rm -rf %t && mkdir -p %t
4
+// RUN: cp %s %t/comment.s
5
+// RUN: %clang -cc1as -triple x86_64-linux-gnu -filetype asm -debug-info-kind=limited -dwarf-version=4 %t/comment.s | FileCheck %s
6
+// RUN: %clang -cc1as -triple x86_64-linux-gnu -filetype asm -debug-info-kind=limited -dwarf-version=5 %t/comment.s | FileCheck %s
7
+// Asm output actually emits the .section directives twice.
8
+// CHECK: {{\.}}section .debug_info
9
10
+// CHECK-NOT: {{\.}}section
11
+// CHECK: .ascii "comment.s"
0 commit comments