This is an archive of the discontinued LLVM Phabricator instance.

[asan] Cleanup: Move tid into ErrorBase, add const to BufferedStackTrace, be consistent in constructor arguments and member order.
ClosedPublic

Authored by filcab on Sep 12 2016, 6:46 AM.

Details

Summary

As mentioned in D24394, I'm moving tid to ErrorBase, since basically all errors need it.
Also mentioned in the same review are other cleanups like adding const to BufferedStackTrace and make sure constructor orders are consistent.

Diff Detail

Repository
rL LLVM

Event Timeline

filcab updated this revision to Diff 71004.Sep 12 2016, 6:46 AM
filcab retitled this revision from to [asan] Move tid to ErrorBase.
filcab updated this object.
filcab added reviewers: vitalybuka, kcc, eugenis.
filcab added a subscriber: llvm-commits.
filcab updated this revision to Diff 71009.Sep 12 2016, 7:59 AM

Updated with more cleanup

filcab retitled this revision from [asan] Move tid to ErrorBase to [asan] Cleanup: Move tid into ErrorBase, add const to BufferedStackTrace, be consistent in constructor arguments and member order..Sep 12 2016, 9:31 AM
filcab updated this object.
vitalybuka accepted this revision.Sep 12 2016, 9:57 AM
vitalybuka edited edge metadata.

LGTM

lib/asan/asan_errors.h
53 ↗(On Diff #71009)

const?

This revision is now accepted and ready to land.Sep 12 2016, 9:57 AM
This revision was automatically updated to reflect the committed changes.