diff options
author | Fangrui Song <i@maskray.me> | 2020-12-30 20:52:01 -0800 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2020-12-30 20:52:01 -0800 |
commit | 809a1e0ffd7af40ee27270ff8ba2ffc927330e71 (patch) | |
tree | 96719af42faea6821d71904be38c15f06331d769 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | 6b3351792c6c9a362a3e8b826bc1d96f8e1918e0 (diff) | |
download | llvm-809a1e0ffd7af40ee27270ff8ba2ffc927330e71.zip llvm-809a1e0ffd7af40ee27270ff8ba2ffc927330e71.tar.gz llvm-809a1e0ffd7af40ee27270ff8ba2ffc927330e71.tar.bz2 |
[CodeGenModule] Set dso_local for Mach-O GlobalValue
* static relocation model: always
* other relocation models: if isStrongDefinitionForLinker
This will make LLVM IR emitted for COFF/Mach-O and executable ELF similar.
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions