summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/anonymous-struct/main.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-04-08 18:47:02 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-04-08 18:47:02 +0000
commite05ff7c1a787cf2bf85e4c73947eea5df34ed8c3 (patch)
treee052bd57ae1ffe9c5fb518f779b78b9b87e67e1c /lldb/packages/Python/lldbsuite/test/expression_command/anonymous-struct/main.cpp
parent8caf33c4834f37d8788361dafef1ce0fe6426666 (diff)
downloadbcm5719-llvm-e05ff7c1a787cf2bf85e4c73947eea5df34ed8c3.tar.gz
bcm5719-llvm-e05ff7c1a787cf2bf85e4c73947eea5df34ed8c3.zip
ValueMapper: Stop memoizing MDStrings
Stop adding MDString to the Metadata section of the ValueMap in MapMetadata. It blows up the size of the map for no benefit, since we can always return quickly anyway. There is a potential follow-up that I don't think I'll push on right away, but maybe someone else is interested: stop checking for a pre-mapped MDString, and move the `isa<MDString>()` checks in Mapper::mapSimpleMetadata and MDNodeMapper::getMappedOp in front of the `VM.getMappedMD()` calls. While this would preclude explicitly remapping MDStrings it would probably be a little faster. llvm-svn: 265827
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/anonymous-struct/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud