[PATCH] D55504: Fix bug where we'd try symbolize a second time with the same arguments.
Dan Liew via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 10 01:16:35 PST 2018
delcypher created this revision.
delcypher added reviewers: kubamracek, glider, samsonov.
Herald added a subscriber: Sanitizers.
Fix bug where we'd try symbolize a second time with the same arguments even though symbolization failed the first time.
This looks like a long standing typo given that the guard for trying
symbolization again is to only try it if symbolization failed using
`binary` and `original_binary != binary`.
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D55504
Files:
lib/asan/scripts/asan_symbolize.py
Index: lib/asan/scripts/asan_symbolize.py
===================================================================
--- lib/asan/scripts/asan_symbolize.py
+++ lib/asan/scripts/asan_symbolize.py
@@ -477,7 +477,7 @@
symbolized_line = self.symbolize_address(addr, binary, offset, arch)
if not symbolized_line:
if original_binary != binary:
- symbolized_line = self.symbolize_address(addr, binary, offset, arch)
+ symbolized_line = self.symbolize_address(addr, original_binary, offset, arch)
return self.get_symbolized_lines(symbolized_line)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55504.177468.patch
Type: text/x-patch
Size: 572 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181210/d42face3/attachment.bin>
More information about the llvm-commits
mailing list