From: Duncan P. N. Exon Smith Date: Fri, 28 Mar 2014 18:22:26 +0000 (+0000) Subject: InstrProf: Fix MSVC after r205023 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=64d7e081b30f1b129693672b505bc681d63ecf8b;p=clang InstrProf: Fix MSVC after r205023 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205025 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CodeGenPGO.cpp b/lib/CodeGen/CodeGenPGO.cpp index ef490ff679..81af8cde82 100644 --- a/lib/CodeGen/CodeGenPGO.cpp +++ b/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;