aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WasmObjectFile.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-04-06 09:12:53 +0000
committerFangrui Song <maskray@google.com>2019-04-06 09:12:53 +0000
commit4be8629e4930e2c4cffca41c8cbf438b3aa05e85 (patch)
tree29beb64c6d21801f14e012b84fcddec07f6dd5ca /llvm/lib/Object/WasmObjectFile.cpp
parentcb300f124360abf1a6640926f2dc478a45ce6b1f (diff)
downloadllvm-4be8629e4930e2c4cffca41c8cbf438b3aa05e85.zip
llvm-4be8629e4930e2c4cffca41c8cbf438b3aa05e85.tar.gz
llvm-4be8629e4930e2c4cffca41c8cbf438b3aa05e85.tar.bz2
[DWARF] Simplify DWARFDebugAranges::findAddress
The current lower_bound approach has to check two iterators pos and pos-1. Changing it to upper_bound allows us to check one iterator (similar to DWARFUnitVector::getUnitFor*). llvm-svn: 357834
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions