[all-commits] [llvm/llvm-project] 623cd7: [llvm-objdump] Fix lma display issue for non-bss s...

Jason Liu via All-commits all-commits at lists.llvm.org
Mon Nov 27 09:24:52 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 623cd75105398dfe199b9588d58281956b8e6753
      https://github.com/llvm/llvm-project/commit/623cd75105398dfe199b9588d58281956b8e6753
  Author: Jason Liu <47833311+jasonliudev at users.noreply.github.com>
  Date:   2023-11-27 (Mon, 27 Nov 2023)

  Changed paths:
    M llvm/include/llvm/Object/ELF.h
    A llvm/test/tools/llvm-objdump/X86/phdrs-lma3.test
    M llvm/tools/llvm-objdump/ELFDump.cpp
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  [llvm-objdump] Fix lma display issue for non-bss sections (#72141)

llvm-readobj and llvm-objdump have inconsistent handling of display
lma for sections.
This patch tries to common code up and adapt the same approach for
both tools.




More information about the All-commits mailing list