[PATCH] D79153: [lld-macho] Avoid unnecessary preprocessing of relocations

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 29 22:09:40 PDT 2020


int3 created this revision.
int3 added reviewers: ruiu, pcc, MaskRay, smeenai, alexshap, gkm, Ktwu, christylee.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
int3 updated this revision to Diff 261126.
int3 added a comment.

update


Previously, we parsed them into a `Reloc` struct when reading the input,
but that's unnecessary. Handling them at output time is closer to what
lld-ELF is doing, and should make future parallelization work easier.

Depends on D79114 <https://reviews.llvm.org/D79114>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D79153

Files:
  lld/MachO/InputFiles.cpp
  lld/MachO/InputFiles.h
  lld/MachO/InputSection.cpp
  lld/MachO/InputSection.h
  lld/MachO/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79153.261126.patch
Type: text/x-patch
Size: 6767 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200430/b85cffb2/attachment.bin>


More information about the llvm-commits mailing list