diff options
author | Rong Xu <xur@google.com> | 2016-02-10 17:18:30 +0000 |
---|---|---|
committer | Rong Xu <xur@google.com> | 2016-02-10 17:18:30 +0000 |
commit | 33c76c0cc2aac6d78ea0c3b1ed71a0fadbd307d7 (patch) | |
tree | 72f293874b989caf7e13fb6dafe4994ae75a883e /lldb/packages/Python/lldbsuite/test/expression_command/call-function | |
parent | 96449907a538b78c402696d94fe47bb3f96d543c (diff) | |
download | bcm5719-llvm-33c76c0cc2aac6d78ea0c3b1ed71a0fadbd307d7.tar.gz bcm5719-llvm-33c76c0cc2aac6d78ea0c3b1ed71a0fadbd307d7.zip |
[PGO] Differentiate Clang instrumentation and IR level instrumentation profiles
This patch uses one bit in profile version to differentiate Clang
instrumentation and IR level instrumentation profiles.
PGOInstrumenation generates a COMDAT variable __llvm_profile_raw_version so
that the compiler runtime can set the right profile kind.
For Maco-O platform, we generate the variable as linkonce_odr linkage as
COMDAT is not supported.
PGOInstrumenation now checks this bit to make sure it's an IR level
instrumentation profile.
The patch was submitted as r260164 but reverted due to a Darwin test breakage.
Original Differential Revision: http://reviews.llvm.org/D15540
Differential Revision: http://reviews.llvm.org/D17020
llvm-svn: 260385
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function')
0 files changed, 0 insertions, 0 deletions