aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/CloneModule.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2016-03-28 21:31:09 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2016-03-28 21:31:09 +0000
commit8a3e39ab67222f6f2c1e6954c6536ad53414ab27 (patch)
tree070f4460cb0324f2aae8ddeaccc649851a6dc431 /llvm/lib/Transforms/Utils/CloneModule.cpp
parent70b895908c0f1a1cb15b9cbe6e8c1470f439f2bc (diff)
downloadllvm-8a3e39ab67222f6f2c1e6954c6536ad53414ab27.zip
llvm-8a3e39ab67222f6f2c1e6954c6536ad53414ab27.tar.gz
llvm-8a3e39ab67222f6f2c1e6954c6536ad53414ab27.tar.bz2
[modules] If both a module file and a module map for the same module are
explicitly provided, and the module map lists a header that does not exist, unmark the module as 'unavailable' when loading its .pcm file. (Use of the module might still fail if the relevant headers aren't embedded, but this behavior is now consistent with how we behave if the module map is not provided, and with the desired behavior for embedding headers in modules.) llvm-svn: 264664
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneModule.cpp')
0 files changed, 0 insertions, 0 deletions