diff options
author | Mehdi Amini <mehdi.amini@apple.com> | 2016-12-01 19:08:38 +0000 |
---|---|---|
committer | Mehdi Amini <mehdi.amini@apple.com> | 2016-12-01 19:08:38 +0000 |
commit | 9676d5ed59564b1468263a6469381fb5350b559e (patch) | |
tree | ddc086617f3873456c96e0f94b6d764db6acab56 /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | 35630c3357bbdea65d4eb631274c338682343f62 (diff) | |
download | bcm5719-llvm-9676d5ed59564b1468263a6469381fb5350b559e.tar.gz bcm5719-llvm-9676d5ed59564b1468263a6469381fb5350b559e.zip |
Fix module map to create a module for the configured header Config/abi-breaking.h
A client of a header that relies on ABI breaking should get the macro
exported there.
Before this, the unittest for Support/Error including Support/Error.h
didn't get the macro exported by the Support module, because the
latter only re-export its submodules and included module, not
textual headers.
Hopefully, it'll also fix the build with local submodule visibility,
since the LLVM_Utils contains two submodules: ADT and Support. They
both include abi-breaking.h that defines a symbol. The textual
inclusion lead to a double definition of the symbol which broke
the parent module.
Differential Revision: https://reviews.llvm.org/D27273
llvm-svn: 288400
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions