[all-commits] [llvm/llvm-project] 19e402: [JITLink][MachO] Use full <segment>, <section> name...
lhames via All-commits
all-commits at lists.llvm.org
Thu Mar 25 19:04:37 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 19e402d2b34e2f312c1460848987dece1e3f3d86
https://github.com/llvm/llvm-project/commit/19e402d2b34e2f312c1460848987dece1e3f3d86
Author: Lang Hames <lhames at gmail.com>
Date: 2021-03-25 (Thu, 25 Mar 2021)
Changed paths:
M llvm/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp
M llvm/lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.cpp
M llvm/lib/ExecutionEngine/JITLink/MachO_x86_64.cpp
M llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
M llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
M llvm/test/ExecutionEngine/JITLink/AArch64/MachO_arm64_relocations.s
M llvm/test/ExecutionEngine/JITLink/X86/MachO_x86-64_relocations.s
Log Message:
-----------
[JITLink][MachO] Use full <segment>,<section> names for MachO jitlink::Sections.
JITLink now requires section names to be unique. In MachO section names are only
guaranteed to be unique within their containing segment (e.g. a '__const' section
in the '__DATA' segment does not clash with a '__const' section in the '__TEXT'
segment), so we need to use the fully qualified <segment>,<section> section
names (e.g. '__DATA,__const' or '__TEXT,__const') when constructing
jitlink::Sections for MachO objects.
More information about the All-commits
mailing list