[PATCH] D87199: [lld-macho] Implement support for PIC
Greg McGary via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 24 07:28:25 PDT 2020
gkm added inline comments.
================
Comment at: lld/MachO/Writer.cpp:341-343
for (InputSection *isec : inputSections) {
for (Reloc &r : isec->relocs) {
if (auto *s = r.referent.dyn_cast<lld::macho::Symbol *>()) {
----------------
This is better: nothing in the `relocs` loop pertains to `__compact_unwind` so we can skip it at the top.
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