Files
clang-p2996/lldb/test/Shell/SymbolFile/DWARF/dwarf5-index-is-used.cpp
Jonas Devlieghere 87aa9c9e4d Re-land "[test] Split LLDB tests into API, Shell & Unit"
The original patch got reverted because it broke `check-lldb` on a clean
build. This fixes that.

llvm-svn: 374201
2019-10-09 19:22:02 +00:00

14 lines
351 B
C++

// Test that we use the DWARF v5 name indexes.
// REQUIRES: lld
// RUN: %clang %s -g -c -o %t.o --target=x86_64-pc-linux -mllvm -accel-tables=Dwarf -gpubnames
// RUN: ld.lld %t.o -o %t
// RUN: lldb-test symbols %t | FileCheck %s
// CHECK: Name Index
// CHECK: String: 0x{{.*}} "_start"
// CHECK: Tag: DW_TAG_subprogram
extern "C" void _start() {}