14 lines · cpp
1// Test that we use the DWARF v5 name indexes.2 3// REQUIRES: lld4 5// RUN: %clangxx %s -c -o %t.o --target=x86_64-pc-linux -gdwarf-5 -gpubnames6// RUN: ld.lld %t.o -o %t7// RUN: lldb-test symbols %t | FileCheck %s8 9// CHECK: Name Index10// CHECK: String: 0x{{.*}} "_start"11// CHECK: Tag: DW_TAG_subprogram12 13extern "C" void _start() {}14