This is an archive of the discontinued LLVM Phabricator instance.

Split DescribeAddressIf* (and DescribeHeapAddress) between a function that gets all the information (structured), and one that prints it.
AbandonedPublic

Authored by filcab on Aug 15 2016, 9:36 AM.

Details

Reviewers
kcc
samsonov
Summary

This is the first patch to start reifying information about errors. It deals only with reifying address-related information.
It will allow us to generate structures with all the relevant information for a given error so a debugger can get to them or they can be included in a core dump.

Additional changes:
Move the Decorator to asan_descriptions.h
Move ThreadNameWithParenthesis and DescribeThread to asan_descriptions.cc
Convert AsanLocateAddress to Get*AddressInformation functions.

Diff Detail

Event Timeline

filcab updated this revision to Diff 68047.Aug 15 2016, 9:36 AM
filcab retitled this revision from to Split DescribeAddressIf* (and DescribeHeapAddress) between a function that gets all the information (structured), and one that prints it..
filcab updated this object.
filcab added reviewers: kcc, samsonov.
filcab added a subscriber: llvm-commits.
kcc edited edge metadata.Aug 15 2016, 10:13 AM

This is a large change and will take quadratic time for review.
Please help me speed it up by splitting the change into several.
Especially, separate simple refactoring (moving code around that does not change functionality) from actual changes in the code (even renaming functions).

filcab abandoned this revision.Aug 16 2016, 7:22 AM

Abandoning, since this revision will be split in several ones to ease reviewing.