[all-commits] [llvm/llvm-project] e23c6c: [aarch64/mac] Correctly disassemble @TLVPPAGE(OFF)...

Nico Weber via All-commits all-commits at lists.llvm.org
Wed Nov 10 07:41:43 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e23c6cc54e36e453d69ef5bdf5a59a6c8dd5644a
      https://github.com/llvm/llvm-project/commit/e23c6cc54e36e453d69ef5bdf5a59a6c8dd5644a
  Author: Nico Weber <thakis at chromium.org>
  Date:   2021-11-10 (Wed, 10 Nov 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/Disassembler/AArch64ExternalSymbolizer.cpp
    M llvm/test/MC/AArch64/arm64-tls-modifiers-darwin.s
    A llvm/test/tools/llvm-objdump/MachO/Inputs/macho-tlv.o
    A llvm/test/tools/llvm-objdump/MachO/disassemble-arm64-tlv-modifers.s

  Log Message:
  -----------
  [aarch64/mac] Correctly disassemble @TLVPPAGE(OFF) relocs

`llvm-otool -tV foo.o` and `llvm-objdump --macho -d foo.o` would
previously fail on object files containing @TLVPPAGE or @TLVPPAGEOFF relocs.

Move llvm-objdump-specific test from
llvm/test/MC/AArch64/arm64-tls-modifiers-darwin.s to new
llvm/test/tools/llvm-objdump/MachO/disassemble-arm64-tlv-modifers.test
and put test for this fix to that new file.

Fixes PR52356.

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




More information about the All-commits mailing list