summaryrefslogtreecommitdiff
path: root/lldb/source/Symbol/ClangASTContext.cpp
diff options
context:
space:
mode:
authorWei Mi <wmi@google.com>2018-12-12 17:09:27 +0000
committerWei Mi <wmi@google.com>2018-12-12 17:09:27 +0000
commit58f7c3e95fa8b8efcd0c0fde707740d8cb7efd36 (patch)
tree35d4fd4ac75e996e234208fbceeb409d9451f382 /lldb/source/Symbol/ClangASTContext.cpp
parentbd5d5f75913ba4d5dcbdae220b157983ffbcdec2 (diff)
[SampleFDO] Extend profile-sample-accurate option to cover isFunctionColdInCallGraph
For SampleFDO, when a callsite doesn't appear in the profile, it will not be marked as cold callsite unless the option -profile-sample-accurate is specified. But profile-sample-accurate doesn't cover function isFunctionColdInCallGraph which is used to decide whether a function should be put into text.unlikely section, so even if the user knows the profile is accurate and specifies profile-sample-accurate, those functions not appearing in the sample profile are still not be put into text.unlikely section right now. The patch fixes that. Differential Revision: https://reviews.llvm.org/D55567
Diffstat (limited to 'lldb/source/Symbol/ClangASTContext.cpp')
0 files changed, 0 insertions, 0 deletions