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 bf49ba3 commit 228d30aCopy full SHA for 228d30a
llvm/test/DebugInfo/AArch64/DW_AT_APPLE_enum_kind.ll
@@ -1,6 +1,7 @@
1
-; RUN: clang++ %s -c -g -emit-llvm -o %t.bc
2
-; RUN: llc %t.bc -filetype=obj -o %t.o
3
-; RUN: llvm-dwarfdump -v %t.o | FileCheck %s
+; RUN: llc < %s -filetype=obj -o %t
+; RUN: llvm-dwarfdump -v %t | FileCheck %s
+;
4
+; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s --check-prefix=CHECK-METADATA
5
6
; C++ source to regenerate:
7
; enum __attribute__((enum_extensibility(open))) OpenEnum {
@@ -13,6 +14,8 @@
13
14
;
15
; $ clang++ -O0 -g debug-info-enum-kind.cpp -c
16
17
+; CHECK-METADATA: enumKind: DW_APPLE_ENUM_KIND_Open
18
+; CHECK-METADATA: enumKind: DW_APPLE_ENUM_KIND_Closed
19
20
; CHECK: .debug_abbrev contents:
21
0 commit comments