This is an archive of the discontinued LLVM Phabricator instance.

Start reifying error descriptions (Re-do of D23672 supporting VS2013)
ClosedPublic

Authored by filcab on Aug 30 2016, 8:36 AM.

Details

Summary

@kcc: I know you've accepted the other revision, but since this is a
non-trivial change, I'm updating it to show why D24029 would help.

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

Diff Detail

Repository
rL LLVM

Event Timeline

filcab updated this revision to Diff 69699.Aug 30 2016, 8:36 AM
filcab retitled this revision from to Start reifying error descriptions (Re-do of D23672 supporting VS2013).
filcab updated this object.
filcab added reviewers: kcc, samsonov, timurrrr.
filcab added subscribers: kubamracek, llvm-commits, kcc.
kcc accepted this revision.Aug 30 2016, 10:01 AM
kcc edited edge metadata.

LGTM

This revision is now accepted and ready to land.Aug 30 2016, 10:01 AM
kcc added a comment.Aug 30 2016, 10:02 AM

BTW, please don't include samsonov@ and timurrrr@ into the following code reviews.
They have moved to other projects.

This revision was automatically updated to reflect the committed changes.