aboutsummaryrefslogtreecommitdiff
path: root/src/common/linux/file_id_unittest.cc
diff options
context:
space:
mode:
authormkrebs@chromium.org <mkrebs@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2012-03-30 23:53:32 +0000
committermkrebs@chromium.org <mkrebs@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2012-03-30 23:53:32 +0000
commit78373e45c5f29416ce9e2f092f92b57cfefe88ed (patch)
tree46c1cb9aa82a8231d4e0c1cf6c1b50a58f1484a6 /src/common/linux/file_id_unittest.cc
parentFix GetMainModule() to properly get first module (diff)
downloadbreakpad-78373e45c5f29416ce9e2f092f92b57cfefe88ed.tar.xz
Fix for putting main module as first one in minidump
The first module in a minidump is expected to be for the main executable. We used to assume that /proc/<pid>/maps always showed that one first, but in some cases that is no longer true (see comment #7 of the bug). So this change makes use of the entry point stored in auxv to make sure we put the correct module first. BUG=chromium-os:25355 TEST=Ran Breakpad tests Review URL: https://breakpad.appspot.com/366002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@942 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common/linux/file_id_unittest.cc')
0 files changed, 0 insertions, 0 deletions