Improve the performance of DWARFDebugInfo::GetCompileUnitContainingDIE() by using...
authorGreg Clayton <gclayton@apple.com>
Tue, 21 Jul 2015 22:53:51 +0000 (22:53 +0000)
committerGreg Clayton <gclayton@apple.com>
Tue, 21 Jul 2015 22:53:51 +0000 (22:53 +0000)
commit5115bf8e731bb8847e8f961291e1961a59bfc4e0
tree321f54cab8f65c1d612d3a247fcb07fe2a08b7b9
parent4800c2de28fdfd2615075888b16991548dce3d95
Improve the performance of DWARFDebugInfo::GetCompileUnitContainingDIE() by using a binary search.

Also switched DWARFDebugInfo::GetCompileUnit() over to using the same kind of binary search instead of using bsearch().

llvm-svn: 242852
lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp