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 dade11f commit 2fefc04Copy full SHA for 2fefc04
lldb/test/Shell/SymbolFile/DWARF/enum-declaration-uniqueness.cpp renamed to lldb/test/Shell/SymbolFile/DWARF/x86/enum-declaration-uniqueness.cpp
@@ -1,6 +1,8 @@
1
-// RUN: %clangxx_host -gdwarf -c -o %t_a.o %s -DFILE_A
2
-// RUN: %clangxx_host -gdwarf -c -o %t_b.o %s -DFILE_B
3
-// RUN: %clangxx_host -o %t %t_a.o %t_b.o
+// REQUIRES: lld
+//
+// RUN: %clangxx --target=x86_64-pc-linux -g -c -o %t_a.o %s -DFILE_A
4
+// RUN: %clangxx --target=x86_64-pc-linux -g -c -o %t_b.o %s -DFILE_B
5
+// RUN: ld.lld -o %t %t_a.o %t_b.o
6
// RUN: %lldb %t \
7
// RUN: -o "target variable my_enum my_enum_ref" -o "image dump ast" \
8
// RUN: -o exit | FileCheck %s
@@ -24,8 +26,6 @@ extern MyEnum my_enum;
24
26
enum MyEnum : int { MyEnum_A };
25
27
28
MyEnum my_enum = MyEnum_A;
-
-int main() {}
29
#endif
30
#ifdef FILE_B
31
MyEnum &my_enum_ref = my_enum;
0 commit comments