[all-commits] [llvm/llvm-project] f2e92c: [lld-macho] Print the name of functions containing...
Daniel Bertalan via All-commits
all-commits at lists.llvm.org
Tue Jun 14 06:42:17 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f2e92cf60e45c517ef8a7b20812a6ac407cad091
https://github.com/llvm/llvm-project/commit/f2e92cf60e45c517ef8a7b20812a6ac407cad091
Author: Daniel Bertalan <dani at danielbertalan.dev>
Date: 2022-06-14 (Tue, 14 Jun 2022)
Changed paths:
M lld/MachO/SymbolTable.cpp
M lld/MachO/SymbolTable.h
M lld/MachO/UnwindInfoSection.cpp
M lld/MachO/Writer.cpp
M lld/test/MachO/invalid/undefined-symbol.s
Log Message:
-----------
[lld-macho] Print the name of functions containing undefined references
The error used to look like this:
ld64.lld: error: undefined symbol: _foo
>>> referenced by /path/to/bar.o
Now it displays the name of the function that contains the undefined
reference as well:
ld64.lld: error: undefined symbol: _foo
>>> referenced by /path/to/bar.o:(symbol _baz+0x4)
Differential Revision: https://reviews.llvm.org/D127696
More information about the All-commits
mailing list