1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/tools
Martin Pelikan ee48a509e2 [XRay] cache symbolized function names for a repeatedly queried function ID
Summary:
Processing 2 GB XRay traces with "llvm-xray convert -symbolize" needs to
go over each trace record and symbolize the function name refered to by
its ID.  Currently this happens by asking the LLVM symbolizer code every
single time.  A simple cache can save around 30 minutes of processing of
that trace.

llvm-xray's resident memory usage increased negligibly with this cache.

Reviewers: dberris

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D43896

llvm-svn: 326407
2018-03-01 01:59:24 +00:00
..
bugpoint Change the BugDriver to store the current module with std::unique_ptr. 2018-02-14 21:44:34 +00:00
bugpoint-passes Remove redundant includes from tools. 2017-12-13 21:31:10 +00:00
dsymutil build: add the ability to create a symlink for dsymutil 2018-02-28 23:00:50 +00:00
gold [ThinLTO/gold] Perform cache pruning when cache directory specified 2018-02-22 20:57:05 +00:00
llc Pass a module reference to CloneModule. 2018-02-14 19:50:40 +00:00
lli [ORC] Consolidate RTDyldObjectLinkingLayer GetMemMgr and GetResolver into a 2018-02-14 22:13:02 +00:00
llvm-ar Remove redundant includes from tools. 2017-12-13 21:31:10 +00:00
llvm-as Pass a reference to a module to the bitcode writer. 2018-02-14 19:11:32 +00:00
llvm-as-fuzzer
llvm-bcanalyzer [ThinLTO/CFI] Include TYPE_ID summaries into GLOBALVAL_SUMMARY_BLOCK 2018-02-14 22:41:15 +00:00
llvm-c-test Fix a memory leak and a cross module reference. 2018-02-21 19:55:11 +00:00
llvm-cat Pass a reference to a module to the bitcode writer. 2018-02-14 19:11:32 +00:00
llvm-cfi-verify Fix broken builds due to mismatched min/max types 2018-02-02 00:07:14 +00:00
llvm-config [cmake] Don't build Native llvm-config when cross compiling if passed by user. 2018-01-21 00:29:00 +00:00
llvm-cov [llvm-cov] Fix incorrect usage of .precision specifier in format() call. 2018-01-31 22:13:07 +00:00
llvm-cvtres llvm-cvtres: Mention ARM64 as a supported machine type in the help text. NFC. 2018-02-27 20:44:33 +00:00
llvm-cxxdump Fix more inconsistent line endings. NFC. 2017-12-18 19:46:56 +00:00
llvm-cxxfilt
llvm-demangle-fuzzer
llvm-diff Remove redundant includes from tools. 2017-12-13 21:31:10 +00:00
llvm-dis
llvm-dwarfdump Fix build breakage from r326003 2018-02-24 00:54:31 +00:00
llvm-dwp Thread MCSubtargetInfo through Target::createMCAsmBackend 2018-01-03 08:53:05 +00:00
llvm-extract [llvm-extract] Support extracting basic blocks 2018-01-23 21:51:34 +00:00
llvm-go
llvm-isel-fuzzer [llvm-opt-fuzzer] Avoid adding incorrect inputs to the fuzzer corpus 2018-02-05 11:05:47 +00:00
llvm-jitlistener
llvm-link Revert "[IRMover] Implement name based structure type mapping" 2018-02-21 20:12:18 +00:00
llvm-lto Allow 0 to be a valid value pruning interval in C LTO API. Value 0 will cause garbage collector to run. This matches the behavior in C++ LTO API. 2018-02-15 23:29:21 +00:00
llvm-lto2 [ThinLTO] Always create linked objects file for --thinlto-index-only= 2018-02-22 19:06:15 +00:00
llvm-mc Thread MCSubtargetInfo through Target::createMCAsmBackend 2018-01-03 08:53:05 +00:00
llvm-mc-assemble-fuzzer
llvm-mc-disassemble-fuzzer
llvm-mcmarkup Fix more inconsistent line endings. NFC. 2017-12-18 19:46:56 +00:00
llvm-modextract Pass a reference to a module to the bitcode writer. 2018-02-14 19:11:32 +00:00
llvm-mt [Option] Add 'findNearest' method to catch typos 2018-01-05 17:10:39 +00:00
llvm-nm llvm-nm should show a symbol type of T for symbols in the (__TEXT_EXEC,__text) section. 2018-01-31 00:00:41 +00:00
llvm-objcopy [llvm-objcopy] Fix typo in setSymTab 2018-02-24 00:41:01 +00:00
llvm-objdump [DebugInfo] Support DWARF v5 source code embedding extension 2018-02-23 23:01:06 +00:00
llvm-opt-fuzzer Pass a reference to a module to the bitcode writer. 2018-02-14 19:11:32 +00:00
llvm-opt-report
llvm-pdbutil Fix llvm-pdbutil to handle new built-in types 2018-02-22 23:16:56 +00:00
llvm-profdata
llvm-rc Fix typos of occurred and occurrence 2018-01-24 10:33:39 +00:00
llvm-readobj [WebAssembly] Remove DataSize from linking metadata section 2018-02-27 23:57:37 +00:00
llvm-rtdyld Remove redundant includes from tools. 2017-12-13 21:31:10 +00:00
llvm-shlib
llvm-size Fix more inconsistent line endings. NFC. 2017-12-18 19:46:56 +00:00
llvm-special-case-list-fuzzer
llvm-split Pass a reference to a module to the bitcode writer. 2018-02-14 19:11:32 +00:00
llvm-stress
llvm-strings
llvm-symbolizer
llvm-xray [XRay] cache symbolized function names for a repeatedly queried function ID 2018-03-01 01:59:24 +00:00
lto
msbuild
obj2yaml [WebAssembly] Remove DataSize from linking metadata section 2018-02-27 23:57:37 +00:00
opt [Debugify] Don't check functions which were skipped 2018-02-15 21:28:38 +00:00
opt-viewer [opt-viewer] Kill parser processes before moving onto rendering 2018-02-26 21:15:51 +00:00
sancov Remove redundant includes from tools. 2017-12-13 21:31:10 +00:00
sanstats
verify-uselistorder Pass a reference to a module to the bitcode writer. 2018-02-14 19:11:32 +00:00
xcode-toolchain
yaml2obj [WebAssembly] Remove DataSize from linking metadata section 2018-02-27 23:57:37 +00:00
CMakeLists.txt
LLVMBuild.txt