summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-03-16 16:35:32 +0000
committerDouglas Gregor <dgregor@apple.com>2010-03-16 16:35:32 +0000
commit5712ebced0bed58724c257c36d5ef0451254ef8c (patch)
tree2dfb9a43fc87557cf63ba5288d92fd06faac8452 /llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
parent298a83ecfe9d1536181e350272e7fa4140b0f4d3 (diff)
downloadbcm5719-llvm-5712ebced0bed58724c257c36d5ef0451254ef8c.tar.gz
bcm5719-llvm-5712ebced0bed58724c257c36d5ef0451254ef8c.zip
Fix header-search problems with precompiled headers, where the
presence or absence of header map arguments when using the precompiled header would cause Clang to get confused about which headers had already been included/imported, along with their controlling macros. The fundamental problem is that the serialization of the header search information was relying on the UIDs of FileEntry objects at PCH generation time and PCH load time to be equivalent, which effectively means that we had to probe the same files in the same order. Differing header map arguments caused an extra FileEntry lookup, but it's easy to imagine other minor command-line arguments triggering this problem. Header-search information is now encoded along with the source-location entry for a file, so that we register information about a file's properties as a header at the same time we create the FileEntry for that file. Fixes <rdar://problem/7743243>. llvm-svn: 98636
Diffstat (limited to 'llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud