aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorJez Ng <jezng@fb.com>2021-03-04 14:36:47 -0500
committerJez Ng <jezng@fb.com>2021-03-04 14:36:47 -0500
commit55a32812fa5ec4d49839ea6f61b50d08a389ab09 (patch)
treef11bfe930448734ddfccf4d9ba1bfd53fb74a13d /clang/lib/CodeGen/CodeGenModule.h
parent8601be809e12a234bbd6264b1a1d37dba2acbe28 (diff)
downloadllvm-55a32812fa5ec4d49839ea6f61b50d08a389ab09.zip
llvm-55a32812fa5ec4d49839ea6f61b50d08a389ab09.tar.gz
llvm-55a32812fa5ec4d49839ea6f61b50d08a389ab09.tar.bz2
[lld-macho] Filter TAPI re-exports by target
Previously, we were loading re-exports without checking whether they were compatible with our target. Prior to {D97209}, it meant that we were defining dylib symbols that were invalid -- usually a silent failure unless our binary actually used them. D97209 exposed this as an explicit error. Along the way, I've extended our TAPI compatibility check to cover the platform as well, instead of just checking the arch. To this end, I've replaced MachO::Architecture with MachO::Target in our Config struct. Reviewed By: #lld-macho, oontvoo Differential Revision: https://reviews.llvm.org/D97867
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions