[PATCH] D123751: Implement support for __llvm_addrsig for MachO in llvm-mc
Alex B via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 13 18:37:28 PDT 2022
alx32 created this revision.
alx32 added a reviewer: int3.
Herald added a subscriber: hiraditya.
Herald added a project: All.
alx32 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
The __llvm_addrsig section is a section that the linker needs for safe icf.
This was not yet implemented for MachO - this is the implementation.
It has been tested with a safe deduplication implementation inside lld.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D123751
Files:
llvm/include/llvm/BinaryFormat/MachO.h
llvm/include/llvm/MC/MCMachObjectWriter.h
llvm/include/llvm/MC/MCObjectFileInfo.h
llvm/include/llvm/MC/MCObjectWriter.h
llvm/lib/MC/ELFObjectWriter.cpp
llvm/lib/MC/MCMachOStreamer.cpp
llvm/lib/MC/MCObjectFileInfo.cpp
llvm/lib/MC/MCSectionMachO.cpp
llvm/lib/MC/MachObjectWriter.cpp
llvm/lib/MC/WinCOFFObjectWriter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123751.422707.patch
Type: text/x-patch
Size: 9272 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220414/f8b8c675/attachment.bin>
More information about the llvm-commits
mailing list