[PATCH] D65769: llvm-symbolizer: Untag addresses in object files by default.
Peter Collingbourne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 5 12:42:04 PDT 2019
pcc created this revision.
pcc added reviewers: hctim, vitalybuka.
Herald added subscribers: rupprecht, hiraditya.
Herald added a project: LLVM.
pcc added a child revision: D65770: hwasan: Instrument globals..
Any addresses that we pass to llvm-symbolizer are going to be untagged,
while any HWASAN instrumented globals are going to be tagged in the
symbol table. Therefore we need to untag the addresses before using them.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D65769
Files:
llvm/include/llvm/DebugInfo/Symbolize/Symbolize.h
llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp
llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.h
llvm/lib/DebugInfo/Symbolize/Symbolize.cpp
llvm/test/tools/llvm-symbolizer/untag-addresses.test
llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65769.213433.patch
Type: text/x-patch
Size: 6398 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190805/0efefb12/attachment.bin>
More information about the llvm-commits
mailing list