Commit 86487ee6 authored by Eric Stevenson's avatar Eric Stevenson Committed by Commit Bot

Supersize: Fix failures when passing an elf file from secondary abis.

For secondary abis the thinlto-cache directory is a sub-directory of
the secondary abi directory.

Change-Id: I1a87df0aec52f0550efa203be3ff0abb00a770d3
Reviewed-on: https://chromium-review.googlesource.com/c/1349852Reviewed-by: default avatarSamuel Huang <huangs@chromium.org>
Commit-Queue: Eric Stevenson <estevenson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#611254}
parent b89c7460
...@@ -413,7 +413,7 @@ class MapFileParserLld(object): ...@@ -413,7 +413,7 @@ class MapFileParserLld(object):
else: else:
# e.g. <internal>:(.text.thunk) # e.g. <internal>:(.text.thunk)
sym_maker.cur_sym.full_name = '** ' + mangled_name sym_maker.cur_sym.full_name = '** ' + mangled_name
elif cur_obj == 'lto.tmp' or cur_obj.startswith('thinlto-cache'): elif cur_obj == 'lto.tmp' or 'thinlto-cache' in cur_obj:
pass pass
else: else:
sym_maker.cur_sym.object_path = cur_obj sym_maker.cur_sym.object_path = cur_obj
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment