aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2012-03-05 19:56:33 +0000
committerEnrico Granata <egranata@apple.com>2012-03-05 19:56:33 +0000
commitcfdafa37b4d3552268a92d7dfd107ed92d3dca51 (patch)
tree92e111d6a1450a643d22c851f599a0e4e3a567ae /lldb/scripts/Python
parent35e2ab60397ec15d9a2ce31ad71614ecc62f34b6 (diff)
downloadllvm-cfdafa37b4d3552268a92d7dfd107ed92d3dca51.zip
llvm-cfdafa37b4d3552268a92d7dfd107ed92d3dca51.tar.gz
llvm-cfdafa37b4d3552268a92d7dfd107ed92d3dca51.tar.bz2
Several performance-oriented changes to the introspecting data formatters:
(a) the SystemParameters object is now passed around to the formatters; doing so enables the formatters to reuse computed values for things such as pointer-size and endianness instead of repeatedly computing these on their own (b) replacing the global ISA cache with a per-process one (c) providing a per-process types cache where each formatter can store the types it needs to operate, and be sure to find them the next time without recalculating them this also enables formatters to share types if they agree on a local naming convention (d) lazy fetching of data from Objective-C runtime data structures data is fetched as needed and we stop reading as soon as we determine that an ISA is actually garbage llvm-svn: 152052
Diffstat (limited to 'lldb/scripts/Python')
0 files changed, 0 insertions, 0 deletions