diff options
Diffstat (limited to 'clang/lib/CodeGen/CodeGenPGO.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenPGO.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenPGO.cpp b/clang/lib/CodeGen/CodeGenPGO.cpp index 81af8cde82c..ac6b7bca40f 100644 --- a/clang/lib/CodeGen/CodeGenPGO.cpp +++ b/clang/lib/CodeGen/CodeGenPGO.cpp @@ -815,8 +815,8 @@ namespace { } static void emitRuntimeHook(CodeGenModule &CGM) { - const char *RuntimeVarName = "__llvm_profile_runtime"; - const char *RuntimeUserName = "__llvm_profile_runtime_user"; + LLVM_CONSTEXPR const char *RuntimeVarName = "__llvm_profile_runtime"; + LLVM_CONSTEXPR const char *RuntimeUserName = "__llvm_profile_runtime_user"; if (CGM.getModule().getGlobalVariable(RuntimeVarName)) return; |

