This is an archive of the discontinued LLVM Phabricator instance.

Disabling speculative loads under asan.
ClosedPublic

Authored by krasin on Oct 20 2015, 10:34 AM.

Details

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
Patch by Mike Aizatsky, the review page for the CL is http://reviews.llvm.org/D13265

Diff Detail

Event Timeline

krasin updated this revision to Diff 37895.Oct 20 2015, 10:34 AM
krasin retitled this revision from to Disabling speculative loads under asan..
krasin updated this object.
krasin added a reviewer: aizatsky.
krasin added subscribers: llvm-commits, kcc.
aizatsky accepted this revision.Oct 20 2015, 10:36 AM
aizatsky edited edge metadata.

LGTM

This revision is now accepted and ready to land.Oct 20 2015, 10:36 AM
krasin closed this revision.Oct 20 2015, 10:36 AM