aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
diff options
context:
space:
mode:
authorSerge Pavlov <sepavloff@gmail.com>2023-03-29 00:44:55 +0700
committerSerge Pavlov <sepavloff@gmail.com>2023-03-29 22:28:48 +0700
commit27c4777f41d2ab204c1cf84ff1cccd5ba41354da (patch)
treef06bf00338141bbaeffdde88d1fcc44b35ee528d /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
parent0e2ed90516ee834ca78f4974a7aebcba1a302eb0 (diff)
downloadllvm-27c4777f41d2ab204c1cf84ff1cccd5ba41354da.zip
llvm-27c4777f41d2ab204c1cf84ff1cccd5ba41354da.tar.gz
llvm-27c4777f41d2ab204c1cf84ff1cccd5ba41354da.tar.bz2
[symbolizer] Treat invalid address as addr2line does
llvm-symbolizer echoed input if it was not recognized as a valid address. This behavior was extended to llvm-addr2line as well. GNU addr2line in this case optputs "??:0". This difference prevents implementation of symbol+offset lookup available in the recent versions of GNU binutils. In that case a string that is not an address may be a symbol. This change make reaction of llvm-addr2line on unrecognized input closer to GNU addr2line.
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp')
0 files changed, 0 insertions, 0 deletions