This is an archive of the discontinued LLVM Phabricator instance.

Disabling speculative loads under asan.
ClosedPublic

Authored by aizatsky on Sep 29 2015, 12:07 PM.

Details

Reviewers
kcc
Summary

While instrumenting std::string with asan I discovered that speculative load might load data from poisoned region. Disabling all speculative loads for asan-annotated functions.

The test follows the std::string implementation.

Corresponding CL in llvm: http://reviews.llvm.org/D13264

Diff Detail

Event Timeline

aizatsky updated this revision to Diff 36021.Sep 29 2015, 12:07 PM
aizatsky retitled this revision from to disabling speculative load for asan.
aizatsky updated this object.
aizatsky updated this revision to Diff 36022.Sep 29 2015, 12:11 PM
  • reverted make file change
aizatsky retitled this revision from disabling speculative load for asan to Disabling speculative loads under asan. .Sep 29 2015, 12:12 PM
aizatsky updated this object.
aizatsky updated this revision to Diff 36023.Sep 29 2015, 12:14 PM
aizatsky retitled this revision from Disabling speculative loads under asan. to Disabling speculative loads under asan..
  • cleanup
aizatsky updated this object.Oct 12 2015, 2:26 PM
aizatsky added a reviewer: kcc.
aizatsky added a subscriber: llvm-commits.

ping. Lets get this high-level test in.

kcc accepted this revision.Oct 15 2015, 1:53 PM
kcc edited edge metadata.

LGTM, please ask someone else to commit.
(assuming the test fails w/o your previous fix in llvm)

This revision is now accepted and ready to land.Oct 15 2015, 1:53 PM
krasin closed this revision.Oct 20 2015, 10:37 AM
krasin added a subscriber: krasin.