[compiler-rt] r270864 - Fix windows bot failure
Xinliang David Li via llvm-commits
llvm-commits at lists.llvm.org
Thu May 26 09:21:12 PDT 2016
Author: davidxl
Date: Thu May 26 11:21:11 2016
New Revision: 270864
URL: http://llvm.org/viewvc/llvm-project?rev=270864&view=rev
Log:
Fix windows bot failure
Modified:
compiler-rt/trunk/lib/profile/InstrProfilingValue.c
Modified: compiler-rt/trunk/lib/profile/InstrProfilingValue.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/profile/InstrProfilingValue.c?rev=270864&r1=270863&r2=270864&view=diff
==============================================================================
--- compiler-rt/trunk/lib/profile/InstrProfilingValue.c (original)
+++ compiler-rt/trunk/lib/profile/InstrProfilingValue.c Thu May 26 11:21:11 2016
@@ -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;
More information about the llvm-commits
mailing list