[go: nahoru, domu]

Compute base addresses from program headers while reading /proc/self/maps.

This cherry picks this glog change:
https://github.com/google/glog/pull/261
with a reimplementation of the program header reading logic for the
sandboxed symbolizer.

This should cause unsymbolized stack traces to contain the correct
addresses for binaries linked with lld.

Bug: 772559
Change-Id: Ief9cbb463b3b4c32149da893c89c2eefd76b05d4
Reviewed-on: https://chromium-review.googlesource.com/752753
Commit-Queue: Peter Collingbourne <pcc@chromium.org>
Reviewed-by: Mark Mentovai <mark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#513956}
4 files changed