diff options
author | jasonliu <jasonliu.development@gmail.com> | 2020-10-01 23:35:31 +0000 |
---|---|---|
committer | jasonliu <jasonliu.development@gmail.com> | 2020-10-02 00:16:24 +0000 |
commit | 78a9e62aa6f8f39fe8141e5486fca6db29947ecf (patch) | |
tree | 93dc966616afde1c719990a82cee9eccf0c19d96 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 61687f3a48c254436cbdd55e10bfb23b727f3eb5 (diff) | |
download | llvm-78a9e62aa6f8f39fe8141e5486fca6db29947ecf.zip llvm-78a9e62aa6f8f39fe8141e5486fca6db29947ecf.tar.gz llvm-78a9e62aa6f8f39fe8141e5486fca6db29947ecf.tar.bz2 |
[XCOFF] Enable -fdata-sections on AIX
Summary:
Some design decision worth noting about:
I've noticed a recent mailing discussing about why string literal is
not affected by -fdata-sections for ELF target:
http://lists.llvm.org/pipermail/llvm-dev/2020-September/145121.html
But on AIX, our linker could not split the mergeable string like other target.
So I think it would make more sense for us to emit separate csect for
every mergeable string in -fdata-sections mode,
as there might not be other ways for linker to do garbage collection
on unused mergeable string.
Reviewed By: daltenty, hubert.reinterpretcast
Differential Revision: https://reviews.llvm.org/D88339
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions