This is an archive of the discontinued LLVM Phabricator instance.

[asan] Reify ErrorStringFunctionSizeOverflow
ClosedPublic

Authored by filcab on Sep 9 2016, 6:37 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

filcab updated this revision to Diff 70828.Sep 9 2016, 6:37 AM
filcab retitled this revision from to [asan] Reify ErrorStringFunctionSizeOverflow.
filcab updated this object.
filcab added reviewers: kcc, eugenis, vitalybuka.
filcab added a subscriber: llvm-commits.
vitalybuka requested changes to this revision.Sep 9 2016, 2:46 PM
vitalybuka edited edge metadata.
This revision now requires changes to proceed.Sep 9 2016, 2:46 PM
vitalybuka accepted this revision.Sep 9 2016, 2:54 PM
vitalybuka edited edge metadata.
vitalybuka added inline comments.
lib/asan/asan_errors.h
235 ↗(On Diff #70828)

const BufferedStackTrace *stack

This revision is now accepted and ready to land.Sep 9 2016, 2:54 PM
vitalybuka added inline comments.Sep 9 2016, 3:06 PM
lib/asan/asan_errors.h
241 ↗(On Diff #70828)

Please make consistent arguments order
also "tid" could be in ErrorBase

filcab added inline comments.Sep 13 2016, 7:39 AM
lib/asan/asan_errors.h
241 ↗(On Diff #70828)

Yeah, I noticed the TID, but wanted to finish with all the errors to make sure we could switch it to Base without wasting too much. We don't need it in ErrorODRViolation, but that's just one error that doesn't need it.
Will double-check arg order. And make more stuff const. Most of the Error* members will probably be const.

filcab updated this revision to Diff 71172.Sep 13 2016, 7:50 AM
filcab edited edge metadata.

Updating after D23875 (consistency on constructor args and member order)

Vitaly: I know you approved most of these, but you also said we should revisit them after D23875 lands. Let me know if they're ok to commit or if you still want changes.

This revision was automatically updated to reflect the committed changes.