diff options
author | Alexey Samsonov <samsonov@google.com> | 2012-09-11 09:48:52 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2012-09-11 09:48:52 +0000 |
commit | 374520df0a4fde014380298d00bad4064de3e476 (patch) | |
tree | 3357ca49b71fa7a104d9b3e2dc0b31c6983f6096 /lib | |
parent | 591616d323d73b7ea7cd8fea4eec46cedccda27e (diff) |
[Sanitizer] remove custom Die/CheckFailed from allocator testlib
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163604 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sanitizer_common/tests/sanitizer_allocator64_testlib.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/sanitizer_common/tests/sanitizer_allocator64_testlib.cc b/lib/sanitizer_common/tests/sanitizer_allocator64_testlib.cc index cff782342..3552f0dfb 100644 --- a/lib/sanitizer_common/tests/sanitizer_allocator64_testlib.cc +++ b/lib/sanitizer_common/tests/sanitizer_allocator64_testlib.cc @@ -42,18 +42,6 @@ void Init() { } // 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) { |