Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / test / Shell / SymbolFile / DWARF / x86 / dwarf5-index-is-used.cpp
blobd6ac23716f6ced626eaec6200fb1f0cbcfbca7e8
1 // Test that we use the DWARF v5 name indexes.
3 // REQUIRES: lld
5 // RUN: %clang %s -c -o %t.o --target=x86_64-pc-linux -gdwarf-5 -gpubnames
6 // RUN: ld.lld %t.o -o %t
7 // RUN: lldb-test symbols %t | FileCheck %s
9 // CHECK: Name Index
10 // CHECK: String: 0x{{.*}} "_start"
11 // CHECK: Tag: DW_TAG_subprogram
13 extern "C" void _start() {}