summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorRong Xu <xur@google.com>2016-04-22 21:00:17 +0000
committerRong Xu <xur@google.com>2016-04-22 21:00:17 +0000
commitf8f051cbf5cb40c04184068fe6bdbbb88eca8f73 (patch)
tree9aed43422b13220e1c2c6162a2e9b31cda0da9d3 /llvm/include
parent5f0e36947bb634416f0425266f6066e8b83fc382 (diff)
downloadbcm5719-llvm-f8f051cbf5cb40c04184068fe6bdbbb88eca8f73.tar.gz
bcm5719-llvm-f8f051cbf5cb40c04184068fe6bdbbb88eca8f73.zip
[PGO] change the interface for createPGOFuncNameMetadata()
This patch changes the interface for createPGOFuncNameMetadata() where we add another PGOFuncName argument. Differential Revision: http://reviews.llvm.org/D19433 llvm-svn: 267216
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/ProfileData/InstrProf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/ProfileData/InstrProf.h b/llvm/include/llvm/ProfileData/InstrProf.h
index fde4b298f8e..88fc61a9a88 100644
--- a/llvm/include/llvm/ProfileData/InstrProf.h
+++ b/llvm/include/llvm/ProfileData/InstrProf.h
@@ -253,7 +253,7 @@ MDNode *getPGOFuncNameMetadata(const Function &F);
/// Create the PGOFuncName meta data if PGOFuncName is different from
/// function's raw name. This should only apply to internal linkage functions
/// declared by users only.
-void createPGOFuncNameMetadata(Function &F);
+void createPGOFuncNameMetadata(Function &F, const std::string &PGOFuncName);
const std::error_category &instrprof_category();
OpenPOWER on IntegriCloud