• Andrew Grieve's avatar
    SuperSize: Teach it about thin archives · 6a15a6c4
    Andrew Grieve authored
    "supersize archive" would crash upon encountering a .a file that was
    linked as a "thin archive" (where the actual .o files are not embedded).
    
    This fixes the tool by transforming all foo.a(bar.o) paths into their
    external object paths.
    
    Also adds main() functions for ninja_parser.py for debugging.
    
    Bug: 830843
    Change-Id: Iddc374565b8e94a4a89b2faa343256ea2d9f569e
    Reviewed-on: https://chromium-review.googlesource.com/1007317
    Commit-Queue: agrieve <agrieve@chromium.org>
    Reviewed-by: default avatarSamuel Huang <huangs@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#550141}
    6a15a6c4
nm.py 27.2 KB