1 | // Test that we use the DWARF v5 name indexes. |
---|---|
2 | |
3 | // REQUIRES: lld |
4 | |
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 |
8 | |
9 | // CHECK: Name Index |
10 | // CHECK: String: 0x{{.*}} "_start" |
11 | // CHECK: Tag: DW_TAG_subprogram |
12 | |
13 | extern "C"void _start() {} |
14 |