Skip to content

Commit

Permalink
[DWARF] Fix dwarf5-index-is-used.cpp
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Aleksandr Urakov committed Sep 3, 2018
1 parent 12aaf96 commit e8fc05c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lldb/lit/SymbolFile/DWARF/dwarf5-index-is-used.cpp
Expand Up @@ -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

Expand Down

0 comments on commit e8fc05c

Please sign in to comment.