Don't merge the mappings if their exec bit are different.
BUG=585534 R=primiano@chromium.org Review URL: https://codereview.chromium.org/1750033002 .
This commit is contained in:
parent
4d69050717
commit
8915f7be39
1 changed files with 2 additions and 1 deletions
|
@ -351,7 +351,8 @@ bool LinuxDumper::EnumerateMappings() {
|
|||
MappingInfo* module = mappings_.back();
|
||||
if ((start_addr == module->start_addr + module->size) &&
|
||||
(my_strlen(name) == my_strlen(module->name)) &&
|
||||
(my_strncmp(name, module->name, my_strlen(name)) == 0)) {
|
||||
(my_strncmp(name, module->name, my_strlen(name)) == 0) &&
|
||||
(exec == module->exec)) {
|
||||
module->size = end_addr - module->start_addr;
|
||||
line_reader->PopLine(line_len);
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue