summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksandr Urakov <aleksandr.urakov@jetbrains.com>2018-09-03 07:16:06 +0000
committerAleksandr Urakov <aleksandr.urakov@jetbrains.com>2018-09-03 07:16:06 +0000
commite8fc05ce7d239bf373f99039406085bd1cc103b9 (patch)
tree095346be4304990a35ce92e3ae1e9fa4972c17e8
parent12aaf964f862f0c0ad5a78525a59868dcff381f3 (diff)
downloadbcm5719-llvm-e8fc05ce7d239bf373f99039406085bd1cc103b9.tar.gz
bcm5719-llvm-e8fc05ce7d239bf373f99039406085bd1cc103b9.zip
[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 llvm-svn: 341296
-rw-r--r--lldb/lit/SymbolFile/DWARF/dwarf5-index-is-used.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/lit/SymbolFile/DWARF/dwarf5-index-is-used.cpp b/lldb/lit/SymbolFile/DWARF/dwarf5-index-is-used.cpp
index 14d2bc076d7..a9de057e6c9 100644
--- a/lldb/lit/SymbolFile/DWARF/dwarf5-index-is-used.cpp
+++ b/lldb/lit/SymbolFile/DWARF/dwarf5-index-is-used.cpp
@@ -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
OpenPOWER on IntegriCloud