Skip to content

Commit 039096e

Browse files
committed
[hwasan] Add default "/" prefix.
Add a default "/" prefix to the symbol search path in the symbolization script. Without this, the binary itself is not considered a valid source of symbol info. Differential Revision: https://reviews.llvm.org/D111840
1 parent acb3b18 commit 039096e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler-rt/lib/hwasan/scripts/hwasan_symbolize

+1
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ if not binary_prefixes:
200200
if 'ANDROID_PRODUCT_OUT' in os.environ:
201201
product_out = os.path.join(os.environ['ANDROID_PRODUCT_OUT'], 'symbols')
202202
binary_prefixes.append(product_out)
203+
binary_prefixes.append('/')
203204

204205
for p in binary_prefixes:
205206
if not os.path.isdir(p):

0 commit comments

Comments
 (0)