summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/context-object-objc
diff options
context:
space:
mode:
authorWenlei He <aktoon@gmail.com>2019-08-20 20:52:00 +0000
committerWenlei He <aktoon@gmail.com>2019-08-20 20:52:00 +0000
commit5adace352d5ef63fe344dc95a375bd33040ea987 (patch)
tree8247dcac8fda3ef360d345a46e1a15aa4c35d286 /lldb/packages/Python/lldbsuite/test/expression_command/context-object-objc
parent48e81e8e10ed869f986a256127327713d362eec8 (diff)
downloadbcm5719-llvm-5adace352d5ef63fe344dc95a375bd33040ea987.tar.gz
bcm5719-llvm-5adace352d5ef63fe344dc95a375bd33040ea987.zip
[AutoFDO] Make call targets order deterministic for sample profile
Summary: StringMap is used for storing call target to frequency map for AutoFDO. However the iterating order of StringMap is non-deterministic, which leads to non-determinism in AutoFDO profile output. Now new API getSortedCallTargets and SortCallTargets are added for deterministic ordering and output. Roundtrip test for text profile and binary profile is added. Reviewers: wmi, davidxl, danielcdh Subscribers: hiraditya, mgrang, llvm-commits, twoh Tags: #llvm Differential Revision: https://reviews.llvm.org/D66191 llvm-svn: 369440
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/context-object-objc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud