[XRay][compiler-rt] Explicitly initialise members.
authorDean Michael Berris <dberris@google.com>
Tue, 6 Dec 2016 06:58:15 +0000 (06:58 +0000)
committerDean Michael Berris <dberris@google.com>
Tue, 6 Dec 2016 06:58:15 +0000 (06:58 +0000)
commit21e877c6d9e4361e99aec1fd00c4698a8c98de63
treecb38970f45af1eb97c62db10cb673e94765e3fe3
parentabe04e3295450afd1b9e03a1b91cf87ee3725780
[XRay][compiler-rt] Explicitly initialise members.

Before this, the change committed in D26232 might have an uninitialised
std::atomic<bool> that may or may not have a valid state. On aarch64
this breaks consistently, while it doesn't manifest as a problem in
x86_64.

This is an attempt to un-break this in aarch64.

llvm-svn: 288776
compiler-rt/lib/xray/xray_buffer_queue.cc