aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorRainer Orth <ro@gcc.gnu.org>2022-02-23 15:41:43 +0100
committerRainer Orth <ro@gcc.gnu.org>2022-02-23 15:41:43 +0100
commit42e391e4ca848e152bf8cdb072ed3ca2a394da2b (patch)
treefe797810b1e831356e7da7a02c47579dd9b3d4c5 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent03e6efb8c23f489e45353b6b6d941628d9c49ca2 (diff)
downloadllvm-42e391e4ca848e152bf8cdb072ed3ca2a394da2b.zip
llvm-42e391e4ca848e152bf8cdb072ed3ca2a394da2b.tar.gz
llvm-42e391e4ca848e152bf8cdb072ed3ca2a394da2b.tar.bz2
[ELF] Use SHF_SUNW_NODISCARD instead of SHF_GNU_RETAIN on Solaris
Instead of the GNU extension `SHF_GNU_RETAIN`, Solaris provides equivalent functionality with `SHF_SUNW_NODISCARD`. This patch implements the necessary support. Tested on `sparcv9-sun-solaris2.11`, `amd64-pc-solaris2.11`, and `x86_64-pc-linux-gnu`. Differential Revision: https://reviews.llvm.org/D107955
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions