[all-commits] [llvm/llvm-project] 5a2bee: [llvm-objdump]Correct .dynstr finding of getDynami...

Ruoyu Qiu via All-commits all-commits at lists.llvm.org
Mon Feb 24 02:40:02 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5a2bee04d08868d1b8c2ddb1719be1cee0f577bf
      https://github.com/llvm/llvm-project/commit/5a2bee04d08868d1b8c2ddb1719be1cee0f577bf
  Author: Ruoyu Qiu <cabbaken at outlook.com>
  Date:   2025-02-24 (Mon, 24 Feb 2025)

  Changed paths:
    M llvm/test/tools/llvm-objdump/ELF/private-headers.test
    M llvm/tools/llvm-objdump/ELFDump.cpp

  Log Message:
  -----------
  [llvm-objdump]Correct .dynstr finding of getDynamicStrTab() (#127975)

The dynamic string table used by the dynamic section is referenced by
the sh_link field of that section, so we should use that directly,
rather than going via the dynamic symbol table.
More info:
https://github.com/llvm/llvm-project/pull/125679#discussion_r1961333454

Signed-off-by: Ruoyu Qiu <cabbaken at outlook.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list