[llvm] r228444 - [msan] Fix "missing origin" in atomic store.

Hans Wennborg hans at chromium.org
Fri Feb 6 14:08:55 PST 2015


On Fri, Feb 6, 2015 at 1:47 PM, Evgeniy Stepanov
<eugeni.stepanov at gmail.com> wrote:
> Author: eugenis
> Date: Fri Feb  6 15:47:39 2015
> New Revision: 228444
>
> URL: http://llvm.org/viewvc/llvm-project?rev=228444&view=rev
> Log:
> [msan] Fix "missing origin" in atomic store.
>
> An atomic store always make the target location fully initialized (in the
> current implementation). It should not store origin. Initialized memory can't
> have meaningful origin, and, due to origin granularity (4 bytes) there is a
> chance that this extra store would overwrite meaningfull origin for an adjacent
> location.

Merged to 3.6 in r228445. Thanks for the quick fix!

 - Hans



More information about the llvm-commits mailing list