summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenPGO.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/CodeGen/CodeGenPGO.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenPGO.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenPGO.cpp b/clang/lib/CodeGen/CodeGenPGO.cpp
index ef490ff6799..81af8cde82c 100644
--- a/clang/lib/CodeGen/CodeGenPGO.cpp
+++ b/clang/lib/CodeGen/CodeGenPGO.cpp
@@ -815,8 +815,8 @@ namespace {
}
static void emitRuntimeHook(CodeGenModule &CGM) {
- constexpr const char *RuntimeVarName = "__llvm_profile_runtime";
- constexpr const char *RuntimeUserName = "__llvm_profile_runtime_user";
+ const char *RuntimeVarName = "__llvm_profile_runtime";
+ const char *RuntimeUserName = "__llvm_profile_runtime_user";
if (CGM.getModule().getGlobalVariable(RuntimeVarName))
return;
OpenPOWER on IntegriCloud