[compiler-rt] r297879 - Fix -Wstring-conversion instance
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 15 12:50:02 PDT 2017
Author: rnk
Date: Wed Mar 15 14:50:02 2017
New Revision: 297879
URL: http://llvm.org/viewvc/llvm-project?rev=297879&view=rev
Log:
Fix -Wstring-conversion instance
Modified:
compiler-rt/trunk/lib/asan/asan_malloc_win.cc
Modified: compiler-rt/trunk/lib/asan/asan_malloc_win.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_malloc_win.cc?rev=297879&r1=297878&r2=297879&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_malloc_win.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_malloc_win.cc Wed Mar 15 14:50:02 2017
@@ -100,7 +100,7 @@ void *realloc(void *ptr, size_t size) {
ALLOCATION_FUNCTION_ATTRIBUTE
void *_realloc_dbg(void *ptr, size_t size, int) {
- CHECK(!"_realloc_dbg should not exist!");
+ UNREACHABLE("_realloc_dbg should not exist!");
return 0;
}
More information about the llvm-commits
mailing list