[all-commits] [llvm/llvm-project] ac9e8b: [llvm-objdump][ARM] Print inline relocations when ...

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon May 4 11:52:02 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ac9e8b3a7e295afdebcd9fff69e720f04e026bff
      https://github.com/llvm/llvm-project/commit/ac9e8b3a7e295afdebcd9fff69e720f04e026bff
  Author: Fangrui Song <maskray at google.com>
  Date:   2020-05-04 (Mon, 04 May 2020)

  Changed paths:
    M llvm/test/tools/llvm-objdump/ELF/ARM/disassemble-code-data-mix.s
    M llvm/tools/llvm-objdump/llvm-objdump.cpp

  Log Message:
  -----------
  [llvm-objdump][ARM] Print inline relocations when dumping ARM data

Fixes PR44357

For ARM ELF, regions covered by data mapping symbols `$d` are dumped as `.byte`, `.short` or `.word` but inline relocations are not printed. This patch merges its loop into the normal instruction printing loop so that inline relocations are printed.

Reviewed By: nickdesaulniers

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




More information about the All-commits mailing list