diff options
author | David Blaikie <dblaikie@gmail.com> | 2018-11-17 05:57:58 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2018-11-17 05:57:58 +0000 |
commit | 81959a2730ef5376f919c6ad1516da97c4228403 (patch) | |
tree | 02320ef387c89ef8d28c77fdc3126ec4890ca271 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 085ec01d6b16ff665f52fc2df89a1cc2a49cfb00 (diff) | |
download | llvm-81959a2730ef5376f919c6ad1516da97c4228403.zip llvm-81959a2730ef5376f919c6ad1516da97c4228403.tar.gz llvm-81959a2730ef5376f919c6ad1516da97c4228403.tar.bz2 |
llvm-symbolizer: Avoid calling getFromOffset when the index entry is already available
Especially for symbolizer it can be efficient to have to search through
the entire index when it isn't needed - llvm-symbolizer looks up only a
few CUs & already has an index available in getUnitForEntry, once it's
passed down to DWARFUnitHeader::extract then there's no need for it to
call getFromOffset.
llvm-svn: 347134
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions