[PATCH] D23672: Start reifying error descriptions

Filipe Cabecinhas via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 18 09:07:11 PDT 2016


filcab created this revision.
filcab added reviewers: kcc, samsonov, timurrrr.
filcab added a subscriber: llvm-commits.
Herald added a subscriber: kubabrecka.

This commit sets up the infrastructure to use reified error
descriptions, and moves ReportStackOverflow to the new system.

After we convert all the errors, we'll be able to simplify ScopedInErrorReport
and remove the older debugging mechanism which had some errors partly reified
in some way. We'll be able to maintain the external API.

ScopedInErrorReport will be able to track one of the reified errors at a time.
The purpose of this is so we have its destructor actually print the error and
possibly interface with the debugger (will depend on the platform, of course).

https://reviews.llvm.org/D23672

Files:
  lib/asan/CMakeLists.txt
  lib/asan/asan_errors.cc
  lib/asan/asan_errors.h
  lib/asan/asan_report.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23672.68552.patch
Type: text/x-patch
Size: 6110 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160818/be7465cc/attachment.bin>


More information about the llvm-commits mailing list