[all-commits] [llvm/llvm-project] 06f863: [lld-macho] Include address offsets in error messages

Jez Ng via All-commits all-commits at lists.llvm.org
Mon Feb 7 18:06:37 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 06f863ac5eb5d1749d70c4870669abd9719b1696
      https://github.com/llvm/llvm-project/commit/06f863ac5eb5d1749d70c4870669abd9719b1696
  Author: Jez Ng <jezng at fb.com>
  Date:   2022-02-07 (Mon, 07 Feb 2022)

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

  Log Message:
  -----------
  [lld-macho] Include address offsets in error messages

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

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

Reviewed By: #lld-macho, oontvoo

Differential Revision: https://reviews.llvm.org/D118798




More information about the All-commits mailing list