[Lldb-commits] [lldb] r341296 - [DWARF] Fix dwarf5-index-is-used.cpp

Aleksandr Urakov via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 3 00:16:06 PDT 2018


Author: aleksandr.urakov
Date: Mon Sep  3 00:16:06 2018
New Revision: 341296

URL: http://llvm.org/viewvc/llvm-project?rev=341296&view=rev
Log:
[DWARF] Fix dwarf5-index-is-used.cpp

Summary:
`dwarf5-index-is-used.cpp` have been failing after rL340206, because `clang`
have stopped to emit pubnames by default after that change. Current patch adds
`-gpubnames` option to the `clang` command line in the test to emit pubnames.

Reviewers: labath, dblaikie

Reviewed By: labath

Subscribers: clayborg, probinson, teemperor, lldb-commits, aprantl, JDevlieghere, abidh, stella.stamenova

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D51208

Modified:
    lldb/trunk/lit/SymbolFile/DWARF/dwarf5-index-is-used.cpp

Modified: lldb/trunk/lit/SymbolFile/DWARF/dwarf5-index-is-used.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/SymbolFile/DWARF/dwarf5-index-is-used.cpp?rev=341296&r1=341295&r2=341296&view=diff
==============================================================================
--- lldb/trunk/lit/SymbolFile/DWARF/dwarf5-index-is-used.cpp (original)
+++ lldb/trunk/lit/SymbolFile/DWARF/dwarf5-index-is-used.cpp Mon Sep  3 00:16:06 2018
@@ -2,7 +2,7 @@
 
 // REQUIRES: lld
 
-// RUN: clang %s -g -c -o %t.o --target=x86_64-pc-linux -mllvm -accel-tables=Dwarf
+// 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
 




More information about the lldb-commits mailing list