diff options
author | Fangrui Song <i@maskray.me> | 2020-10-21 10:11:20 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2020-10-21 10:11:26 -0700 |
commit | b6e4aae2cc269bbdce9263cd49dcd582840b333a (patch) | |
tree | e3406f8f81ec458d984d03c2f2370af362c1e5b7 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | cdc90ec7876d3d6b343aa2917e6e3d5436c0a99e (diff) | |
download | llvm-b6e4aae2cc269bbdce9263cd49dcd582840b333a.zip llvm-b6e4aae2cc269bbdce9263cd49dcd582840b333a.tar.gz llvm-b6e4aae2cc269bbdce9263cd49dcd582840b333a.tar.bz2 |
[ELF] --gc-sections: retain dependent sections of non-SHF_ALLOC sections
Fix http://lists.llvm.org/pipermail/llvm-dev/2020-October/145908.html
Currently non-SHF_ALLOC SHT_REL[A] (due to --emit-relocs) and SHF_LINK_ORDER are not
marked live.
Reviewed By: grimar, psmith
Differential Revision: https://reviews.llvm.org/D89841
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions