aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectScript.cpp
diff options
context:
space:
mode:
authorDaniel Bertalan <dani@danielbertalan.dev>2022-06-23 11:07:15 -0400
committerNico Weber <thakis@chromium.org>2022-06-23 11:07:15 -0400
commited39fd515a9e5cd7668847359dd3b5ce35ab5d0a (patch)
tree289097c424dc2665d64e61ffd652597d967d43f3 /lldb/source/Commands/CommandObjectScript.cpp
parent6f27df508478b411a6b58883f815aa30acbe17d4 (diff)
downloadllvm-ed39fd515a9e5cd7668847359dd3b5ce35ab5d0a.zip
llvm-ed39fd515a9e5cd7668847359dd3b5ce35ab5d0a.tar.gz
llvm-ed39fd515a9e5cd7668847359dd3b5ce35ab5d0a.tar.bz2
[lld-macho] Use source information in duplicate symbol errors
Similarly to how undefined symbol diagnostics were changed in D128184, we now show where in the source file duplicate symbols are defined at: ld64.lld: error: duplicate symbol: _foo >> defined in bar.c:42 >> /path/to/bar.o >> defined in baz.c:1 >> /path/to/libbaz.a(baz.o) For objects that don't contain DWARF data, the format is unchanged. A slight difference to undefined symbol diagnostics is that we don't print the name of the symbol on the third line, as it's already contained on the first line. Differential Revision: https://reviews.llvm.org/D128425
Diffstat (limited to 'lldb/source/Commands/CommandObjectScript.cpp')
0 files changed, 0 insertions, 0 deletions