This is an archive of the discontinued LLVM Phabricator instance.

Split DescribeAddressIfShadow between a function that gets all the information, and one that prints it.
ClosedPublic

Authored by filcab on Aug 15 2016, 11:04 AM.

Details

Summary

Replacement for part of D23518
This is the first patch to start reifying information about errors. It deals only with reifying shadow 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.

Diff Detail

Repository
rL LLVM

Event Timeline

filcab updated this revision to Diff 68051.Aug 15 2016, 11:04 AM
filcab retitled this revision from to Split DescribeAddressIfShadow between a function that gets all the information, and one that prints it..
filcab updated this object.
filcab added reviewers: kcc, samsonov.
filcab added a subscriber: llvm-commits.
kcc accepted this revision.Aug 15 2016, 11:13 AM
kcc edited edge metadata.

LGTM with one nit.

lib/asan/asan_descriptions.h
31 ↗(On Diff #68051)

better name it shadow_byte or shadow_value

This revision is now accepted and ready to land.Aug 15 2016, 11:13 AM
This revision was automatically updated to reflect the committed changes.