This is an archive of the discontinued LLVM Phabricator instance.

[asan] Add support of lifetime poisoning into ComputeASanStackFrameLayout
ClosedPublic

Authored by vitalybuka on Aug 17 2016, 1:18 PM.

Diff Detail

Event Timeline

vitalybuka updated this revision to Diff 68411.Aug 17 2016, 1:18 PM
vitalybuka retitled this revision from to [asan] Add support of lifetime poisoning into ComputeASanStackFrameLayout.
vitalybuka updated this object.
vitalybuka added reviewers: kcc, eugenis.
vitalybuka added a subscriber: llvm-commits.
vitalybuka updated this object.Aug 17 2016, 1:21 PM
eugenis accepted this revision.Aug 17 2016, 5:52 PM
eugenis edited edge metadata.

LGTM

lib/Transforms/Utils/ASanStackFrameLayout.cpp
84

You need a stronger assert: lifetime aligned up is not larger than size. Right?

This revision is now accepted and ready to land.Aug 17 2016, 5:52 PM
eugenis added inline comments.Aug 17 2016, 6:01 PM
lib/Transforms/Utils/ASanStackFrameLayout.cpp
84

OK, this assert is fine.

This revision was automatically updated to reflect the committed changes.
vitalybuka marked an inline comment as done.
vitalybuka reopened this revision.Aug 19 2016, 3:19 PM
This revision is now accepted and ready to land.Aug 19 2016, 3:19 PM
This revision was automatically updated to reflect the committed changes.