summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenPGO.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-03-28 18:22:26 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-03-28 18:22:26 +0000
commit64d7e081b30f1b129693672b505bc681d63ecf8b (patch)
tree81076f1cedacc04c91ec034bf65db3dff62a3414 /lib/CodeGen/CodeGenPGO.cpp
parenta88ee9f93b98a4b8682754905bca09fce0293f0d (diff)
downloadclang-64d7e081b30f1b129693672b505bc681d63ecf8b.tar.gz
clang-64d7e081b30f1b129693672b505bc681d63ecf8b.tar.bz2
clang-64d7e081b30f1b129693672b505bc681d63ecf8b.tar.xz
InstrProf: Fix MSVC after r205023
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205025 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenPGO.cpp')
-rw-r--r--lib/CodeGen/CodeGenPGO.cpp4
1 files changed, 2 insertions, 2 deletions
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;