aboutsummaryrefslogtreecommitdiff
path: root/AUTHORS
diff options
context:
space:
mode:
authorPeter Collingbourne <pcc@google.com>2017-10-17 10:42:27 -0700
committerMike Frysinger <vapier@chromium.org>2017-10-17 20:19:03 +0000
commit9b23ca3a7cc4e3d310969dc9daa74b26327ac70f (patch)
treee78b2a0779f764e086d3c3e4c01344a4bd8185d2 /AUTHORS
parentRename src/common/memory.h to memory_allocator.h. (diff)
downloadbreakpad-9b23ca3a7cc4e3d310969dc9daa74b26327ac70f.tar.xz
Move main executable handling out of procmaps parser loop.
If the mapping for the main executable needed to be merged (for example, if it was linked with lld and therefore contains an r mapping followed by an r/x mapping), we would never reach the code that makes it the first module. Handle that situation by moving that code into a separate loop. This fixes an issue where breakpad_unittests fails on Android devices when linked with lld. It appears that the glibc dynamic loader happens to always load executables (or at least the executables that we create) at a lower address than DSOs, so we never hit this bug on desktop Linux. Testing: "make check" with both gold and lld as linker. Also breakpad_unittests when patched into Chromium on Linux (lld) and Android (gold and lld). Bug: chromium:469376 Change-Id: I6329e4afd2f1bf44c25a6c3e684495e21dba83a6 Reviewed-on: https://chromium-review.googlesource.com/722286 Reviewed-by: Mike Frysinger <vapier@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org>
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions