Enable DWARF accelerator tables by default when tuning for lldb (-glldb => -gpubnames)
authorPavel Labath <pavel@labath.sk>
Wed, 5 Sep 2018 14:38:44 +0000 (14:38 +0000)
committerPavel Labath <pavel@labath.sk>
Wed, 5 Sep 2018 14:38:44 +0000 (14:38 +0000)
commit5795673ef87b57f0b7e78f69e6d4fe8870ff9633
treeeb4f53ae30a11f6f1fd1da151b66c36848765670
parent23ee5cbd2c1f9b097672a607298daa7e6ffeaa42
Enable DWARF accelerator tables by default when tuning for lldb (-glldb => -gpubnames)

Summary:
DWARF v5 accelerator tables provide a considerable performance
improvement for lldb and will make the default -glldb behavior same on
all targets (right now we emit apple tables on apple targets, but these
are not controlled by -gpubnames, only by -glldb).

Reviewers: dblaikie

Subscribers: probinson, clayborg, JDevlieghere, aprantl, cfe-commits

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

llvm-svn: 341472
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/Driver/debug-options.c