diff options
author | Sean Callanan <scallanan@apple.com> | 2013-02-26 01:12:25 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2013-02-26 01:12:25 +0000 |
commit | 2367f8a7883a2ff90d7ae7f740541fa97de2964a (patch) | |
tree | 272357ec8bad5042ff189477c14343d657dbba71 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 1b33e8d63e829a00e78a152309058ebfb8c43e36 (diff) | |
download | bcm5719-llvm-2367f8a7883a2ff90d7ae7f740541fa97de2964a.tar.gz bcm5719-llvm-2367f8a7883a2ff90d7ae7f740541fa97de2964a.zip |
Fixed several problems with class uniq'ing in the
SymbolFileDWARF code:
- If a class is being uniqued to another copy of itself
and the method lists don't match exactly, take a slow
path and at least unique the methods that they have
in common.
- Sort name_to_die maps before querying them. This
would otherwise result in uniquing failures because
looking up a name in a map that contains it would
often fail.
- Tolerate classes in other symbol files in the case
of debugging with .o files rather than with a
.dSYM. We used to assume that the classes being
uniqued were in the same symbol file, causing
unpredictable results.
This will dramatically reduce the number of cases where
a function does not have a valid DeclContext.
<rdar://problem/12153915>
llvm-svn: 176067
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions