diff options
author | Jez Ng <jezng@fb.com> | 2022-03-15 20:25:06 -0400 |
---|---|---|
committer | Jez Ng <jezng@fb.com> | 2022-03-15 20:25:06 -0400 |
commit | 8ce3750ff62d68e7428a828530b9b6a8cc93e813 (patch) | |
tree | afb442f04c96329d7b5609209ef286ccb8f71dab /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | c1d4c67718db88be48f451b91f7bddab8fff2424 (diff) | |
download | llvm-8ce3750ff62d68e7428a828530b9b6a8cc93e813.zip llvm-8ce3750ff62d68e7428a828530b9b6a8cc93e813.tar.gz llvm-8ce3750ff62d68e7428a828530b9b6a8cc93e813.tar.bz2 |
[lld-macho] Set FinalDefinitionInLinkageUnit on most LTO externs
Since Mach-O has a two-level namespace (unlike ELF), we can usually set
this property to true.
(I believe this setting is only available in the new LTO backend, so I
can't really use ld64 / libLTO's behavior as a reference here... I'm
just doing what I think is correct.)
See {D119294} for the work done to calculate the `interposable` used in
this diff.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D119506
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions