summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py
diff options
context:
space:
mode:
authorRong Xu <xur@google.com>2016-10-19 22:51:17 +0000
committerRong Xu <xur@google.com>2016-10-19 22:51:17 +0000
commit2c684cfd94b0979e919b62d9d81ccd37c10bdba1 (patch)
tree580b1833d951cb7e3014ba553dd7d938d8137037 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py
parent66cc2d52109354871fe6f5079e4577db17b6867d (diff)
downloadbcm5719-llvm-2c684cfd94b0979e919b62d9d81ccd37c10bdba1.tar.gz
bcm5719-llvm-2c684cfd94b0979e919b62d9d81ccd37c10bdba1.zip
[PGO] Fix bogus warning for merging empty llvm profile file
Profile runtime can generate an empty raw profile (when there is no function in the shared library). This empty profile is treated as a text format profile. A test format profile without the flag of "#IR" is thought to be a clang generated profile. So in llvm profile merging, we will get a bogus warning of "Merge IR generated profile with Clang generated profile." The fix here is to skip the empty profile (when the buffer size is 0) for profile merge. Reviewers: vsk, davidxl Differential Revision: http://reviews.llvm.org/D25687 llvm-svn: 284659
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud