diff options
author | Daniel Bertalan <dani@danielbertalan.dev> | 2022-06-20 18:49:42 -0400 |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2022-06-20 18:49:42 -0400 |
commit | cd7624f15369f0d395c1edee1a0b9592083d2fe0 (patch) | |
tree | b4fc97442342803326d390e189c5b9a835df53ea /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 5ba0a9571b3ee3bc76f65e16549012a440d5a0fb (diff) | |
download | llvm-cd7624f15369f0d395c1edee1a0b9592083d2fe0.zip llvm-cd7624f15369f0d395c1edee1a0b9592083d2fe0.tar.gz llvm-cd7624f15369f0d395c1edee1a0b9592083d2fe0.tar.bz2 |
[lld-macho] Show source information for undefined references
The error used to look like this:
ld64.lld: error: undefined symbol: _foo
>>> referenced by /path/to/bar.o:(symbol _baz+0x4)
If DWARF line information is available, we now show where in the source
the references are coming from:
ld64.lld: error: unreferenced symbol: _foo
>>> referenced by: bar.cpp:42 (/path/to/bar.cpp:42)
>>> /path/to/bar.o:(symbol _baz+0x4)
Differential Revision: https://reviews.llvm.org/D128184
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions