diff options
author | Greg Clayton <gclayton@apple.com> | 2012-04-20 20:35:47 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2012-04-20 20:35:47 +0000 |
commit | 9bbddbf84abc962972b2a5d2fcad33eacb313815 (patch) | |
tree | 02d00731baafc5e4cf1c16488b7163c9253c7182 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 91adf295f5af1975cfcecd275cbc7e81d05a8de7 (diff) | |
download | llvm-9bbddbf84abc962972b2a5d2fcad33eacb313815.zip llvm-9bbddbf84abc962972b2a5d2fcad33eacb313815.tar.gz llvm-9bbddbf84abc962972b2a5d2fcad33eacb313815.tar.bz2 |
Added logging so we can see when we are trying to complete a forward type and pull in the world. This is due to a compiler bug we are tracking (<rdar://problem/11291658>) where forward decls to classes and types are not properly scoped in namespaces, which results in the current LLDB looking for a type it will find many times in the accelerator tables, but never match. For example, when debugging with clang we get a forward decl like:
class AnalysisResolver;
And we will look for it everywhere and find many many matches, but the decl context of those matching DIEs is "clang::AnalysisResolver", so we never match anything, yet we pull in waaayyy too much DWARF in the process.
To enable this logging enable the "lookups" category in the "dwarf" log channel:
(lldb) log enable dwarf lookups
llvm-svn: 155233
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions