[PATCH] D118798: [lld-macho] Include address offsets in error messages

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 2 07:54:14 PST 2022


int3 created this revision.
int3 added a reviewer: lld-macho.
Herald added a project: lld-macho.
int3 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This makes it easier to pinpoint the source of the problem.

TODO: Have more relocation error messages make use of this
functionality.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D118798

Files:
  lld/MachO/InputFiles.cpp
  lld/MachO/InputSection.cpp
  lld/MachO/InputSection.h
  lld/MachO/Relocations.cpp
  lld/MachO/UnwindInfoSection.cpp
  lld/test/MachO/invalid/bad-got-to-dylib-tlv-reference.s
  lld/test/MachO/invalid/bad-got-to-tlv-reference.s
  lld/test/MachO/invalid/bad-tlv-relocation.s
  lld/test/MachO/invalid/compact-unwind-bad-reloc.s
  lld/test/MachO/invalid/cstring-dedup.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118798.405281.patch
Type: text/x-patch
Size: 9795 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220202/59665777/attachment.bin>


More information about the llvm-commits mailing list