]> granicus.if.org Git - clang/commitdiff
InstrProf: Fix MSVC after r205023
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 28 Mar 2014 18:22:26 +0000 (18:22 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 28 Mar 2014 18:22:26 +0000 (18:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205025 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CodeGenPGO.cpp

index ef490ff6799bbd5a0a1d330a5093cbe7330e9f0e..81af8cde82cf4fe780dce76ff868e57ec01df46a 100644 (file)
@@ -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;