summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorTamas Berghammer <tberghammer@google.com>2017-01-03 16:29:43 +0000
committerTamas Berghammer <tberghammer@google.com>2017-01-03 16:29:43 +0000
commita6f5795ae2b57671c2cc44a93779e4a61d071644 (patch)
treed2a8177417cd225091d06a921480b610d6e51e6c /llvm/lib/CodeGen/MachineInstr.cpp
parent563de799e3c5573da5eed7427a29d8cc05019eda (diff)
downloadbcm5719-llvm-a6f5795ae2b57671c2cc44a93779e4a61d071644.tar.gz
bcm5719-llvm-a6f5795ae2b57671c2cc44a93779e4a61d071644.zip
Improve the performance of jModulesInfo in lldb-server
Previously it parsed /proc/<pid>/maps for every module separately resulting in a very slow response time. This CL add some caching and optimizes the implementation to improve the code from O(n*m) to O(n+m) where n is the number of modules requested and m is the number of files mapped into memory. Differential revision: https://reviews.llvm.org/D28233 llvm-svn: 290895
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud