summaryrefslogtreecommitdiffstats
path: root/clang/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
commit3b3edfb16d67d4d8abd6f6ca0a46e7c1a9e89d3f (patch)
tree31b5d32eece7b96afa739a921127e2b29d5bcc7f /clang/lib/CodeGen/CodeGenPGO.cpp
parent87f88c18500698afd73b5841fa4a0c25748cf9de (diff)
downloadbcm5719-llvm-3b3edfb16d67d4d8abd6f6ca0a46e7c1a9e89d3f.tar.gz
bcm5719-llvm-3b3edfb16d67d4d8abd6f6ca0a46e7c1a9e89d3f.zip
InstrProf: Fix MSVC after r205023
llvm-svn: 205025
Diffstat (limited to 'clang/lib/CodeGen/CodeGenPGO.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenPGO.cpp4
1 files changed, 2 insertions, 2 deletions
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;
OpenPOWER on IntegriCloud