aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/Orc
diff options
context:
space:
mode:
authorAugusto Noronha <anoronha@apple.com>2025-08-12 13:12:55 -0700
committerGitHub <noreply@github.com>2025-08-12 13:12:55 -0700
commitbd1b1a5e1a38b36eff8c1c926af7e025e97ab611 (patch)
treeef7c8b9cdc3ea9d672c71be2535edbe3d69d9c47 /llvm/lib/ExecutionEngine/Orc
parent5be2063e1083773d4863d94d357f0e890c646fde (diff)
downloadllvm-bd1b1a5e1a38b36eff8c1c926af7e025e97ab611.zip
llvm-bd1b1a5e1a38b36eff8c1c926af7e025e97ab611.tar.gz
llvm-bd1b1a5e1a38b36eff8c1c926af7e025e97ab611.tar.bz2
Reland "[NFC][lldb] Speed up lookup of shared modules" (229d860) (#152607)
The previous commit was reverted because it broke a test on the bots. Original commit message: By profiling LLDB debugging a Swift application without a dSYM and a large amount of .o files, I identified that querying shared modules was the biggest bottleneck when running "frame variable", and Clang types need to be searched. One of the reasons for that slowness is that the shared module list can can grow very large, and the search through it is O(n). To solve this issue, this patch adds a new hashmap to the shared module list whose key is the name of the module, and the value is all the modules that share that name. This should speed up any search where the query contains the module name. rdar://156753350
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc')
0 files changed, 0 insertions, 0 deletions