diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2018-03-20 22:36:39 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2018-03-20 22:36:39 +0000 |
commit | 970b2819122c1c79cc17033b679e7bf9dd479703 (patch) | |
tree | b13212e8a1e173322b755a1327e62d1a1ac11dee /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | 75cc2f9e1fc158463125ef65a82ec3112aaae11a (diff) | |
download | llvm-970b2819122c1c79cc17033b679e7bf9dd479703.zip llvm-970b2819122c1c79cc17033b679e7bf9dd479703.tar.gz llvm-970b2819122c1c79cc17033b679e7bf9dd479703.tar.bz2 |
[Modules] Honor -fmodule-name when handling private framework modules
When skipping building the module for a private framework module,
LangOpts.CurrentModule isn't enough for implict modules builds; for
instance, in case a private module is built while building a public one,
LangOpts.CurrentModule doesn't reflect the -fmodule-name being passed
down, but instead the module name which triggered the build.
Store the actual -fmodule-name in LangOpts.ModuleName and actually
check a name was provided during compiler invocation in order to
skip building the private module.
rdar://problem/38434694
llvm-svn: 328053
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions