[PATCH] D87199: [lld-macho] Implement support for PIC
Greg McGary via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 23 22:18:49 PDT 2020
gkm added inline comments.
================
Comment at: lld/MachO/Writer.cpp:350-352
+ assert(r.referent.is<InputSection *>());
+ if (!r.pcrel)
+ in.rebase->addEntry(isec, r.offset);
----------------
Without checking godbolt, I boldly assume that the computation for the string compare will be hoisted out of the inner loop. Please add a testcase for mixing `-pie` and compact unwind.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87199/new/
https://reviews.llvm.org/D87199
More information about the llvm-commits
mailing list