]> granicus.if.org Git - clang/commit
Re-commit "Enable DWARF accelerator tables by default when tuning for lldb (-glldb...
authorPavel Labath <pavel@labath.sk>
Thu, 6 Sep 2018 17:01:45 +0000 (17:01 +0000)
committerPavel Labath <pavel@labath.sk>
Thu, 6 Sep 2018 17:01:45 +0000 (17:01 +0000)
commit1f430570d263f54a2a9931a0f99c933aff56bc41
tree794bdc3b9d8f67c92f1727fefd42a920305489e8
parent7414d2028d003d37f46b92ed2625f41f234c06d1
Re-commit "Enable DWARF accelerator tables by default when tuning for lldb (-glldb => -gpubnames)""

This recommits r341472, which was reverted due to test failures on macos bots.

The issue was that a macos target implies -glldb which, together with
this patch added a -gpubnames switch where there previously wasn't one.
The intentions of those checks was to check that -gpubnames is not
emitted by default so I add an explicit -ggdb arg to those command lines
to get same behavior on all platforms (the fact that -glldb *does* set
-gpubnames is tested by a separate test).

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341564 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/Clang.cpp
test/Driver/debug-options.c