projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be019c7
)
[asan_symbolize] Provide better error message when extracting the UUID of a binary...
author
Dan Liew
<dan@su-root.co.uk>
Wed, 31 Jul 2019 00:59:09 +0000
(
00:59
+0000)
committer
Dan Liew
<dan@su-root.co.uk>
Wed, 31 Jul 2019 00:59:09 +0000
(
00:59
+0000)
rdar://problem/
49476995
llvm-svn: 367378
compiler-rt/lib/asan/scripts/asan_symbolize.py
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/asan/scripts/asan_symbolize.py
b/compiler-rt/lib/asan/scripts/asan_symbolize.py
index
28995bc
..
37defae
100755
(executable)
--- a/
compiler-rt/lib/asan/scripts/asan_symbolize.py
+++ b/
compiler-rt/lib/asan/scripts/asan_symbolize.py
@@
-756,7
+756,9
@@
def get_uuid_from_binary(path_to_binary, arch=None):
uuid = split_uuid_line[1]
break
if uuid is None:
- raise GetUUIDFromBinaryException('Failed to retrieve UUID')
+ logging.error('Failed to retrieve UUID from binary {}'.format(path_to_binary))
+ logging.error('otool output was:\n{}'.format(output_str))
+ raise GetUUIDFromBinaryException('Failed to retrieve UUID from binary "{}"'.format(path_to_binary))
else:
# Update cache
_get_uuid_from_binary_cache[cache_key] = uuid