[JITLink][MachO] Detect MachO::S_THREAD_LOCAL_ZEROFILL sections as zero-fill.
authorLang Hames <lhames@gmail.com>
Tue, 20 Jul 2021 08:16:39 +0000 (18:16 +1000)
committerLang Hames <lhames@gmail.com>
Tue, 20 Jul 2021 23:10:10 +0000 (09:10 +1000)
commitca4a9386170e656b22773b09f240d26f49a8877c
tree5aece415f2576d5f949b5e27579e454cbfeeb70a
parenta876d09bc7fbb16ef38d50ce84059e50d6829f23
[JITLink][MachO] Detect MachO::S_THREAD_LOCAL_ZEROFILL sections as zero-fill.

This will be used in upcoming MachO native TLV support patches to LLVM and
the ORC runtime.
llvm/lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.cpp
llvm/lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.h
llvm/test/ExecutionEngine/JITLink/X86/MachO_thread_bss.s [new file with mode: 0644]