[PATCH] D129062: [lld-macho] Handle user-provided dtrace symbols to avoid linking failure
Daniel Bertalan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 5 13:15:15 PDT 2022
BertalanD added inline comments.
================
Comment at: lld/MachO/Arch/X86_64.cpp:222
+ // loc[3] = 0x00;
+ write32le(loc - 4, (read32le(loc - 4) & 0x00ffffff) | 0x90000000);
+ write32le(loc, 0x00401F0F);
----------------
BertalanD wrote:
>
or even `loc[-1]` would work, I guess
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129062/new/
https://reviews.llvm.org/D129062
More information about the llvm-commits
mailing list