diff options
author | Todd Fiala <tfiala@google.com> | 2014-02-12 07:29:44 +0000 |
---|---|---|
committer | Todd Fiala <tfiala@google.com> | 2014-02-12 07:29:44 +0000 |
commit | 729c001ec35a666b47fb05ade56ddcc83f50eb27 (patch) | |
tree | 5c01a50d63a04fb7a571d6de6c600d9f11ade86a /clang/lib/Serialization/ModuleManager.cpp | |
parent | 167c15a98feb898c13eca325678b73d0c59dffa2 (diff) | |
download | bcm5719-llvm-729c001ec35a666b47fb05ade56ddcc83f50eb27.tar.gz bcm5719-llvm-729c001ec35a666b47fb05ade56ddcc83f50eb27.zip |
Fix elf core file VMA-contiguous region collapsing.
Elf core files were collapsing core segments when the virtual memory
addresses were contiguous without checking if the core-file-backed
memory region was the same size as the segment's VMA region. Without
this extra check, any time regions were collapsed but the core-backed
region was smaller (and thus had a zero-filled hole at the end), the
collapse operation would break VMA to core file lookups for subsequent
collapsed regions.
This change fixes the following bug:
http://llvm.org/bugs/show_bug.cgi?id=18769
llvm-svn: 201214
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions