summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2016-05-26 16:21:11 +0000
committerXinliang David Li <davidxl@google.com>2016-05-26 16:21:11 +0000
commita290c9b47a4bafc655c783e3b5fbdb9a602efea9 (patch)
tree2d5e74b6adee3fc9f21469d957e5f7acabef5b95
parenta0adeb69ab4bd676d17d060fcf9bb931943100a0 (diff)
downloadbcm5719-llvm-a290c9b47a4bafc655c783e3b5fbdb9a602efea9.tar.gz
bcm5719-llvm-a290c9b47a4bafc655c783e3b5fbdb9a602efea9.zip
Fix windows bot failure
llvm-svn: 270864
-rw-r--r--compiler-rt/lib/profile/InstrProfilingValue.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/profile/InstrProfilingValue.c b/compiler-rt/lib/profile/InstrProfilingValue.c
index ff149b5b8d7..0ed92452f84 100644
--- a/compiler-rt/lib/profile/InstrProfilingValue.c
+++ b/compiler-rt/lib/profile/InstrProfilingValue.c
@@ -25,11 +25,13 @@ static int hasNonDefaultValsPerSite = 0;
#define INSTR_PROF_DEFAULT_NUM_VAL_PER_SITE 8
#define INSTR_PROF_VNODE_POOL_SIZE 1024
+#ifndef _MSC_VER
/* A shared static pool in addition to the vnodes statically
* allocated by the compiler. */
COMPILER_RT_VISIBILITY ValueProfNode
lprofValueProfNodes[INSTR_PROF_VNODE_POOL_SIZE] COMPILER_RT_SECTION(
INSTR_PROF_VNODES_SECT_NAME_STR);
+#endif
COMPILER_RT_VISIBILITY uint32_t VPMaxNumValsPerSite =
INSTR_PROF_DEFAULT_NUM_VAL_PER_SITE;
OpenPOWER on IntegriCloud