diff options
| author | Filipe Cabecinhas <me@filcab.net> | 2016-08-26 20:59:02 +0000 |
|---|---|---|
| committer | Filipe Cabecinhas <me@filcab.net> | 2016-08-26 20:59:02 +0000 |
| commit | d2cc63779306427672fcdcdb2c6fff1bce31f86f (patch) | |
| tree | 373e6acb597a8c6dfe464f2b6a84962c441bb33a /compiler-rt/lib/asan/asan_errors.cc | |
| parent | 21395f9839d71e581370e6534e30558571057409 (diff) | |
| download | bcm5719-llvm-d2cc63779306427672fcdcdb2c6fff1bce31f86f.tar.gz bcm5719-llvm-d2cc63779306427672fcdcdb2c6fff1bce31f86f.zip | |
Revert "Start reifying error descriptions"
This reverts r279862 to investigate VS failures.
llvm-svn: 279865
Diffstat (limited to 'compiler-rt/lib/asan/asan_errors.cc')
| -rw-r--r-- | compiler-rt/lib/asan/asan_errors.cc | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/compiler-rt/lib/asan/asan_errors.cc b/compiler-rt/lib/asan/asan_errors.cc deleted file mode 100644 index ea30c1cb219..00000000000 --- a/compiler-rt/lib/asan/asan_errors.cc +++ /dev/null @@ -1,36 +0,0 @@ -//===-- asan_errors.cc ------------------------------------------*- C++ -*-===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// This file is a part of AddressSanitizer, an address sanity checker. -// -// ASan implementation for error structures. -//===----------------------------------------------------------------------===// - -#include "asan_errors.h" -#include "asan_stack.h" - -namespace __asan { - -void ErrorStackOverflow::Print() { - Decorator d; - Printf("%s", d.Warning()); - Report( - "ERROR: AddressSanitizer: stack-overflow on address %p" - " (pc %p bp %p sp %p T%d)\n", - (void *)addr, (void *)pc, (void *)bp, (void *)sp, tid); - Printf("%s", d.EndWarning()); - scariness.Print(); - BufferedStackTrace stack; - GetStackTraceWithPcBpAndContext(&stack, kStackTraceMax, pc, bp, context, - common_flags()->fast_unwind_on_fatal); - stack.Print(); - ReportErrorSummary("stack-overflow", &stack); -} - -} // namespace __asan |

