diff options
author | Greg Clayton <gclayton@apple.com> | 2011-05-18 18:22:47 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2011-05-18 18:22:47 +0000 |
commit | 1c870d6e9fc551051ce6dc10899fa47a746b2333 (patch) | |
tree | ccac6ff1e2f6d99b3bce7934af7570e73c884e2e /llvm/lib/Transforms | |
parent | 5bee94ecab03c081b05edd85993983826066f6f0 (diff) | |
download | bcm5719-llvm-1c870d6e9fc551051ce6dc10899fa47a746b2333.tar.gz bcm5719-llvm-1c870d6e9fc551051ce6dc10899fa47a746b2333.zip |
One more fix to:
bool SectionLoadList::ResolveLoadAddress (addr_t load_addr, Address &so_addr) const;
Where if the address is in the last map entry, we need to look it up correctly.
My previous fix was incorrect where it looked in the first if there were
no addresses in the map that were > load_addr. Now we correctly look in the
last entry if our std::map::lower_bound search returns the end of the
collection.
llvm-svn: 131550
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions