diff options
| author | Rong Xu <xur@google.com> | 2016-04-22 21:00:17 +0000 |
|---|---|---|
| committer | Rong Xu <xur@google.com> | 2016-04-22 21:00:17 +0000 |
| commit | f8f051cbf5cb40c04184068fe6bdbbb88eca8f73 (patch) | |
| tree | 9aed43422b13220e1c2c6162a2e9b31cda0da9d3 /llvm/include | |
| parent | 5f0e36947bb634416f0425266f6066e8b83fc382 (diff) | |
| download | bcm5719-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.h | 2 |
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(); |

