diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-03-20 20:00:41 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-03-20 20:00:41 +0000 |
commit | 7f817a7d8d2062cb805cf720467bb3306dae2b3f (patch) | |
tree | 50ddb279dc6d87b216e63f17cd12375a3e0b44ce /lib/CodeGen/CodeGenPGO.h | |
parent | cdbf2c3796769961bd29f376314a7f050033988f (diff) |
PGO: Change runtime prefix from pgo to profile
These functions are in the profile runtime. PGO comes later.
Unfortunately, there's only room for 16 characters in a Darwin section,
so use __llvm_prf_ instead of __llvm_profile_ for section names.
<rdar://problem/15943240>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204390 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenPGO.h')
-rw-r--r-- | lib/CodeGen/CodeGenPGO.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenPGO.h b/lib/CodeGen/CodeGenPGO.h index e859324ae0..d22486d372 100644 --- a/lib/CodeGen/CodeGenPGO.h +++ b/lib/CodeGen/CodeGenPGO.h @@ -83,7 +83,7 @@ public: /// For functions with local linkage, this includes the main file name. StringRef getFuncName() const { return StringRef(*PrefixedFuncName); } std::string getFuncVarName(StringRef VarName) const { - return ("__llvm_pgo_" + VarName + "_" + RawFuncName).str(); + return ("__llvm_profile_" + VarName + "_" + RawFuncName).str(); } /// Return the counter value of the current region. |