aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/ModuloSchedule.cpp
diff options
context:
space:
mode:
authorDavid Tenty <daltenty@ibm.com>2022-04-05 17:27:00 -0400
committerDavid Tenty <daltenty@ibm.com>2022-04-28 14:56:00 -0400
commit8042699a3088280292066a2fb1869f372369301f (patch)
tree10f757349f608e6db0fcd8ad10e38ec50c0401d5 /llvm/lib/CodeGen/ModuloSchedule.cpp
parentded8187e353f7c6c5bb70239c07110eccc38a579 (diff)
downloadllvm-8042699a3088280292066a2fb1869f372369301f.zip
llvm-8042699a3088280292066a2fb1869f372369301f.tar.gz
llvm-8042699a3088280292066a2fb1869f372369301f.tar.bz2
[LLVM] Add exported visibility style for XCOFF
For the AIX linker, under default options, global or weak symbols which have no visibility bits set to zero (i.e. no visibility, similar to ELF default) are only exported if specified on an export list provided to the linker. So AIX has an additional visibility style called "exported" which indicates to the linker that the symbol should be explicitly globally exported. This change maps "dllexport" in the LLVM IR to correspond to XCOFF exported as we feel this best models the intended semantic (discussion on the discourse RFC thread: https://discourse.llvm.org/t/rfc-adding-exported-visibility-style-to-the-ir-to-model-xcoff-exported-visibility/61853) and allows us to enable writing this visibility for the AIX target in the assembly path. Reviewed By: DiggerLin Differential Revision: https://reviews.llvm.org/D123951
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions