[all-commits] [llvm/llvm-project] c649f2: [llvm-nm] Add --line-numbers flag

Daniel Thornburgh via All-commits all-commits at lists.llvm.org
Tue Sep 19 14:14:57 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c649f29c24c9fc1502d8d53e0c96c3d24b31de1a
      https://github.com/llvm/llvm-project/commit/c649f29c24c9fc1502d8d53e0c96c3d24b31de1a
  Author: Daniel Thornburgh <dthorn at google.com>
  Date:   2023-09-19 (Tue, 19 Sep 2023)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-nm.rst
    M llvm/docs/ReleaseNotes.rst
    A llvm/test/tools/llvm-nm/X86/line-numbers.test
    M llvm/tools/llvm-nm/CMakeLists.txt
    M llvm/tools/llvm-nm/Opts.td
    M llvm/tools/llvm-nm/llvm-nm.cpp

  Log Message:
  -----------
  [llvm-nm] Add --line-numbers flag

This parallels the binutils/BSD flag of the same name. Debugging
information is loaded to print line number information for symbols.
Defined symbols are symbolized by their section addresses, and undefined
symbols by their first text reloc with line info.

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




More information about the All-commits mailing list