summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/ELFObjectWriter.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-12-22 01:48:48 +0000
committerDouglas Gregor <dgregor@apple.com>2011-12-22 01:48:48 +0000
commit022857e03d546ae308fe0d82ce9c64d17de07b32 (patch)
tree5cc791a3bf137ef9977241f01e8253e125eeb036 /llvm/lib/MC/ELFObjectWriter.cpp
parent299cfb7a02a9ee722655a1cc60e6a6af1371e0de (diff)
downloadbcm5719-llvm-022857e03d546ae308fe0d82ce9c64d17de07b32.tar.gz
bcm5719-llvm-022857e03d546ae308fe0d82ce9c64d17de07b32.zip
When deserializing an Objective-C class, check whether we have another
declaration of that same class that either came from some other module or occurred in the translation unit loading the module. In this case, we need to merge the two redeclaration chains immediately so that all such declarations have the same canonical declaration in the resulting AST (even though they don't in the module files we've imported). Focusing on Objective-C classes until I'm happy with the design, then I'll both (1) extend this notion to other kinds of declarations, and (2) optimize away this extra checking when we're not dealing with modules. For now, doing this checking for PCH files/preambles gives us better testing coverage. llvm-svn: 147123
Diffstat (limited to 'llvm/lib/MC/ELFObjectWriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud