aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineVerifier.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@fb.com>2020-08-21 14:40:21 -0700
committerGreg Clayton <gclayton@fb.com>2020-08-26 15:48:34 -0700
commitc55db4600b4bdc5664784983fefb82bd8189bafc (patch)
tree9959e75efdf09e464dab0fc968ffa28262aed965 /llvm/lib/CodeGen/MachineVerifier.cpp
parent92d3e70df3ccb9e6528f0c95bae48c0a8f9b703b (diff)
downloadllvm-c55db4600b4bdc5664784983fefb82bd8189bafc.zip
llvm-c55db4600b4bdc5664784983fefb82bd8189bafc.tar.gz
llvm-c55db4600b4bdc5664784983fefb82bd8189bafc.tar.bz2
Load correct module for linux and android when duplicates exist in minidump.
Breakpad creates minidump files that can a module loaded multiple times. We found that when a process mmap's the object file for a library, this can confuse breakpad into creating multiple modules in the module list. This patch fixes the GetFilteredModules() to check the linux maps for permissions and use the one that has execute permissions. Typically when people mmap a file into memory they don't map it as executable. This helps people to correctly load minidump files for post mortem analysis. Differential Revision: https://reviews.llvm.org/D86375
Diffstat (limited to 'llvm/lib/CodeGen/MachineVerifier.cpp')
0 files changed, 0 insertions, 0 deletions