summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2013-05-02 17:58:30 +0000
committerDouglas Gregor <dgregor@apple.com>2013-05-02 17:58:30 +0000
commit34d52749e4ead103644e571e16be1b539bfa64a5 (patch)
treeb90395f4a2c8b862b78074ecd2ce685020f5e2a6 /clang/lib/CodeGen/CodeGenModule.cpp
parent5f99742632926b5870ddb418211de55f24228ea7 (diff)
downloadbcm5719-llvm-34d52749e4ead103644e571e16be1b539bfa64a5.tar.gz
bcm5719-llvm-34d52749e4ead103644e571e16be1b539bfa64a5.zip
When looking for the module associated with one of our magical builtin headers, speculatively load module maps.
The "magical" builtin headers are the headers we provide as part of the C standard library, which typically comes from /usr/include. We essentially merge our headers into that location (due to cyclic dependencies). This change makes sure that, when header search finds one of our builtin headers, we figure out which module it actually lives in. This case is fairly rare; one ends up having to include one of the few built-in C headers we provide before including anything from /usr/include to trigger it. Fixes <rdar://problem/13787184>. llvm-svn: 180934
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud