[compiler-rt] r260120 - Fix windows build bot failure
Xinliang David Li via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 8 10:27:04 PST 2016
Author: davidxl
Date: Mon Feb 8 12:27:04 2016
New Revision: 260120
URL: http://llvm.org/viewvc/llvm-project?rev=260120&view=rev
Log:
Fix windows build bot failure
Modified:
compiler-rt/trunk/lib/profile/InstrProfilingPlatformOther.c
Modified: compiler-rt/trunk/lib/profile/InstrProfilingPlatformOther.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/profile/InstrProfilingPlatformOther.c?rev=260120&r1=260119&r2=260120&view=diff
==============================================================================
--- compiler-rt/trunk/lib/profile/InstrProfilingPlatformOther.c (original)
+++ compiler-rt/trunk/lib/profile/InstrProfilingPlatformOther.c Mon Feb 8 12:27:04 2016
@@ -64,7 +64,8 @@ void __llvm_profile_register_names_funct
return;
}
NamesFirst = (const char *)getMinAddr(NamesFirst, NamesStart);
- NamesLast = (const char *)getMaxAddr(NamesLast, NamesStart + NamesSize);
+ NamesLast =
+ (const char *)getMaxAddr(NamesLast, (const char *)NamesStart + NamesSize);
}
COMPILER_RT_VISIBILITY
More information about the llvm-commits
mailing list