diff options
author | Zachary Turner <zturner@google.com> | 2014-06-25 18:37:19 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2014-06-25 18:37:19 +0000 |
commit | 15362445948550136a7e6a62e334ef943e832ce9 (patch) | |
tree | eee44abf9b4e85949c555b3711ac57ca04bcac61 /clang/lib/Basic/VirtualFileSystem.cpp | |
parent | 9bea9cc73bd0e31fe8e332c6a9673068eaaca393 (diff) | |
download | llvm-15362445948550136a7e6a62e334ef943e832ce9.zip llvm-15362445948550136a7e6a62e334ef943e832ce9.tar.gz llvm-15362445948550136a7e6a62e334ef943e832ce9.tar.bz2 |
Fix a bug in the IRMemoryMap which generated bogus allocations.
Previously, only the starting locations of the candidate interval
and the existing interval were compared. To correctly detect
range intersections, it is necessary to compare the entire range
of both intervals against each other.
Reviewed by: scallanan
Differential Revision: http://reviews.llvm.org/D4286
llvm-svn: 211726
Diffstat (limited to 'clang/lib/Basic/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions