From 3b3edfb16d67d4d8abd6f6ca0a46e7c1a9e89d3f Mon Sep 17 00:00:00 2001 From: "Duncan P. N. Exon Smith" Date: Fri, 28 Mar 2014 18:22:26 +0000 Subject: InstrProf: Fix MSVC after r205023 llvm-svn: 205025 --- clang/lib/CodeGen/CodeGenPGO.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clang/lib') 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; -- cgit v1.2.3