llvm-project/llvm/lib/Transforms/Instrumentation
Yaron Keren dfb655fe17 Try to appease VS 2015 warnings from http://reviews.llvm.org/D11890
ByteSize and BitSize should not be size_t but unsigned, considering

1) They are at most 2^16 and 2^19, respectively.
2) BitSize is an argument to Type::getIntNTy which takes unsigned.

Also, use the correct utostr instead itostr and cache the string result.

Thanks to James Touton for reporting this!

llvm-svn: 245167
2015-08-15 19:06:14 +00:00
..
AddressSanitizer.cpp De-constify pointers to Type since they can't be modified. NFC 2015-08-01 22:20:21 +00:00
BoundsChecking.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
CMakeLists.txt Protection against stack-based memory corruption errors using SafeStack 2015-06-15 21:07:11 +00:00
DataFlowSanitizer.cpp Enable dfsan for aarch64 2015-07-30 20:49:35 +00:00
GCOVProfiling.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
InstrProfiling.cpp Tidy comment. 2015-06-29 20:03:46 +00:00
Instrumentation.cpp [sancov] Leave llvm.localescape in the entry block 2015-08-14 16:45:42 +00:00
LLVMBuild.txt Update libdeps since TLI was moved from Target to Analysis in r226078. 2015-01-15 05:21:00 +00:00
Makefile
MaximumSpanningTree.h
MemorySanitizer.cpp [msan] Fix handling of musttail calls. 2015-08-14 22:03:50 +00:00
SafeStack.cpp Rename inst_range() to instructions() for consistency. NFC 2015-08-06 19:10:45 +00:00
SanitizerCoverage.cpp [sancov] Fix an unused variable warning introduced in r245067 2015-08-14 17:03:45 +00:00
ThreadSanitizer.cpp Try to appease VS 2015 warnings from http://reviews.llvm.org/D11890 2015-08-15 19:06:14 +00:00