Start reifying error descriptions. Second try: Try to appease Visual Studio.
authorFilipe Cabecinhas <me@filcab.net>
Sun, 28 Aug 2016 10:32:44 +0000 (10:32 +0000)
committerFilipe Cabecinhas <me@filcab.net>
Sun, 28 Aug 2016 10:32:44 +0000 (10:32 +0000)
commitb477ce015dbeeb42ab6bfd1745ac47790da6c91e
treeba8236fab6345255ceb6f2cecca1494749935663
parent3622fbfc6878952eed3545fb60926e704729f0d1
Start reifying error descriptions. Second try: Try to appease Visual Studio.

Summary:
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).

Reviewers: kcc, samsonov, timurrrr

Subscribers: kubabrecka, llvm-commits

Differential Revision: https://reviews.llvm.org/D23672

llvm-svn: 279931
compiler-rt/lib/asan/CMakeLists.txt
compiler-rt/lib/asan/asan_errors.cc [new file with mode: 0644]
compiler-rt/lib/asan/asan_errors.h [new file with mode: 0644]
compiler-rt/lib/asan/asan_report.cc