[all-commits] [llvm/llvm-project] 389e0a: [lld-macho] Support synthesizing __TEXT, __init_off...
Daniel Bertalan via All-commits
all-commits at lists.llvm.org
Wed Aug 31 01:22:15 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 389e0a81a15ca688cf85a82d04aeaa68d18da161
https://github.com/llvm/llvm-project/commit/389e0a81a15ca688cf85a82d04aeaa68d18da161
Author: Daniel Bertalan <dani at danielbertalan.dev>
Date: 2022-08-31 (Wed, 31 Aug 2022)
Changed paths:
M lld/MachO/Config.h
M lld/MachO/Driver.cpp
M lld/MachO/InputSection.h
M lld/MachO/MarkLive.cpp
M lld/MachO/Options.td
M lld/MachO/OutputSegment.cpp
M lld/MachO/Symbols.h
M lld/MachO/SyntheticSections.cpp
M lld/MachO/SyntheticSections.h
M lld/MachO/Writer.cpp
A lld/test/MachO/init-offsets.s
M llvm/include/llvm/BinaryFormat/MachO.h
M llvm/lib/MC/MCSectionMachO.cpp
M llvm/tools/llvm-objdump/MachODump.cpp
Log Message:
-----------
[lld-macho] Support synthesizing __TEXT,__init_offsets
This section stores 32-bit `__TEXT` segment offsets of initializer
functions, and is used instead of `__mod_init_func` when chained fixups
are enabled.
Storing the offsets lets us avoid emitting fixups for the initializers.
Differential Revision: https://reviews.llvm.org/D132947
More information about the All-commits
mailing list