[PATCH] D120318: [MC][ELF] Use SHF_SUNW_NODISCARD instead of SHF_GNU_RETAIN on Solaris
Rainer Orth via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 22 04:05:43 PST 2022
ro created this revision.
ro added a reviewer: MaskRay.
Herald added subscribers: pengfei, fedor.sergeev, hiraditya, emaste, jyknight.
ro requested review of this revision.
Herald added a project: LLVM.
As requested in D107955 <https://reviews.llvm.org/D107955>, this patch splits off the `MC` and `CodeGen` parts and adds a testcase.
Tested on `sparcv9-sun-solaris2.11`, `amd64-pc-solaris2.11`, and `x86_64-pc-linux-gnu`.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D120318
Files:
llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
llvm/lib/MC/MCParser/ELFAsmParser.cpp
llvm/lib/MC/MCSectionELF.cpp
llvm/test/CodeGen/X86/elf-retain.ll
llvm/test/MC/ELF/section-gnu.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120318.410501.patch
Type: text/x-patch
Size: 5387 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220222/6c1bebee/attachment.bin>
More information about the llvm-commits
mailing list