1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00
llvm-mirror/tools/dsymutil
Alexey Lapshin 54c6ca7364 [dsymutil][DWARFLinker][NFC] make AddressManager not depending on the order of checks for relocations.
Current dsymutil implementation of hasLiveMemoryLocation()/hasLiveAddressRange()
and applyValidRelocs() assume that calls should be done in certain order
(from first Dies to last). Multi-thread implementation might call these methods
in other order(it might process compilation units in order other than they are physically
located), so we remove restriction that searching for relocations should be done
in ascending order. This change does not introduce noticable performance degradation.
The testing results for clang binary:

golden-dsymutil/dsymutil  23787992
clang MD5: 5efa8fd9355ebf81b65f24db5375caa2
elapsed time=91sec

build-Release/bin/dsymutil 23855616
clang MD5: 5efa8fd9355ebf81b65f24db5375caa2
elapsed time=91sec

Differential Revision: https://reviews.llvm.org/D93106
2021-01-31 16:34:10 +03:00
..
BinaryHolder.cpp [dsymutil] Compare object modification times using second precision 2021-01-20 18:45:30 -08:00
BinaryHolder.h [dsymutil] Warn on timestmap mismatch between object file and debug map 2021-01-13 09:15:30 -08:00
CFBundle.cpp Use std::foo_t rather than std::foo in LLVM. 2020-02-11 15:12:51 -08:00
CFBundle.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CMakeLists.txt [dsymutil] Add reproducers to dsymutil 2020-05-21 10:59:49 -07:00
DebugMap.cpp [llvm] Drop unnecessary make_range (NFC) 2021-01-09 09:25:00 -08:00
DebugMap.h Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
dsymutil.cpp [llvm] Don't include StringSwitch.h where unnecessary (NFC) 2021-01-21 19:59:48 -08:00
dsymutil.h [dsymutil] Thread the VFS through dsymutil (NFC) 2020-05-04 20:21:33 -07:00
DwarfLinkerForBinary.cpp [dsymutil][DWARFLinker][NFC] make AddressManager not depending on the order of checks for relocations. 2021-01-31 16:34:10 +03:00
DwarfLinkerForBinary.h [dsymutil][DWARFLinker][NFC] make AddressManager not depending on the order of checks for relocations. 2021-01-31 16:34:10 +03:00
LinkUtils.h [dsymutil] Add option to print statistics about the .debug_info size. 2020-05-06 19:48:45 -07:00
MachODebugMapParser.cpp [dsymutil] Generalize handling of aliases external symbols 2020-11-16 11:04:31 -08:00
MachOUtils.cpp [dsymutil] Copy eh_frame content into the dSYM companion file. 2021-01-12 19:50:34 -08:00
MachOUtils.h [dsymutil] Thread the VFS through dsymutil (NFC) 2020-05-04 20:21:33 -07:00
Options.td [dsymutil] Add reproducers to dsymutil 2020-05-21 10:59:49 -07:00
Reproducer.cpp [dsymutil] Add llvm_unreachable to silence warning 2020-05-21 12:27:52 -07:00
Reproducer.h [dsymutil] Add reproducers to dsymutil 2020-05-21 10:59:49 -07:00
SymbolMap.cpp Fix a variety of minor issues with ObjC method mangling: 2020-09-29 19:51:53 -04:00
SymbolMap.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00