[llvm-commits] [compiler-rt] r163604 - /compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_allocator64_testlib.cc
Alexey Samsonov
samsonov at google.com
Tue Sep 11 02:48:52 PDT 2012
Author: samsonov
Date: Tue Sep 11 04:48:52 2012
New Revision: 163604
URL: http://llvm.org/viewvc/llvm-project?rev=163604&view=rev
Log:
[Sanitizer] remove custom Die/CheckFailed from allocator testlib
Modified:
compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_allocator64_testlib.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_allocator64_testlib.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_allocator64_testlib.cc?rev=163604&r1=163603&r2=163604&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_allocator64_testlib.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_allocator64_testlib.cc Tue Sep 11 04:48:52 2012
@@ -42,18 +42,6 @@
} // namespace
-namespace __sanitizer {
-void NORETURN Die() {
- _exit(77);
-}
-void NORETURN CheckFailed(const char *file, int line, const char *cond,
- u64 v1, u64 v2) {
- fprintf(stderr, "CheckFailed: %s:%d %s (%lld %lld)\n",
- file, line, cond, v1, v2);
- Die();
-}
-}
-
#if 1
extern "C" {
void *malloc(size_t size) {
More information about the llvm-commits
mailing list