diff options
| author | Yury Gribov <y.gribov@samsung.com> | 2015-11-11 12:23:59 +0000 |
|---|---|---|
| committer | Yury Gribov <y.gribov@samsung.com> | 2015-11-11 12:23:59 +0000 |
| commit | e76a7c41e9d596d9212e3e07e6be5bf574bbca6f (patch) | |
| tree | 95dd82cefd9ca97e6045b813cd00abf270f7aa34 /compiler-rt/lib | |
| parent | 468d955b986346ab75feffe1347bca46a0d01ed9 (diff) | |
| download | bcm5719-llvm-e76a7c41e9d596d9212e3e07e6be5bf574bbca6f.tar.gz bcm5719-llvm-e76a7c41e9d596d9212e3e07e6be5bf574bbca6f.zip | |
[Asan] Added missing hunk to previous commit.
llvm-svn: 252724
Diffstat (limited to 'compiler-rt/lib')
| -rw-r--r-- | compiler-rt/lib/asan/asan_report.cc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/compiler-rt/lib/asan/asan_report.cc b/compiler-rt/lib/asan/asan_report.cc index ec57943bd22..c18ca964ad9 100644 --- a/compiler-rt/lib/asan/asan_report.cc +++ b/compiler-rt/lib/asan/asan_report.cc @@ -1002,13 +1002,8 @@ void ReportMacCfReallocUnknown(uptr addr, uptr zone_ptr, const char *zone_name, DescribeHeapAddress(addr, 1); } -} // namespace __asan - -// --------------------------- Interface --------------------- {{{1 -using namespace __asan; // NOLINT - -void __asan_report_error(uptr pc, uptr bp, uptr sp, uptr addr, int is_write, - uptr access_size, u32 exp) { +void ReportGenericError(uptr pc, uptr bp, uptr sp, uptr addr, bool is_write, + uptr access_size, u32 exp, bool fatal) { ENABLE_FRAME_POINTER; // Optimization experiments. |

