[compiler-rt] r191288 - [msan] Test for atomic handling in MSan.

Evgeniy Stepanov eugeni.stepanov at gmail.com
Tue Sep 24 04:21:16 PDT 2013


Author: eugenis
Date: Tue Sep 24 06:21:16 2013
New Revision: 191288

URL: http://llvm.org/viewvc/llvm-project?rev=191288&view=rev
Log:
[msan] Test for atomic handling in MSan.

Added:
    compiler-rt/trunk/lib/msan/lit_tests/sync_lock_set_and_test.cc   (with props)

Added: compiler-rt/trunk/lib/msan/lit_tests/sync_lock_set_and_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/msan/lit_tests/sync_lock_set_and_test.cc?rev=191288&view=auto
==============================================================================
--- compiler-rt/trunk/lib/msan/lit_tests/sync_lock_set_and_test.cc (added)
+++ compiler-rt/trunk/lib/msan/lit_tests/sync_lock_set_and_test.cc Tue Sep 24 06:21:16 2013
@@ -0,0 +1,7 @@
+// RUN: %clangxx_msan -m64 -O0 %s -o %t && %t
+
+int main(void) {
+  int i;
+  __sync_lock_test_and_set(&i, 0);
+  return i;
+}

Propchange: compiler-rt/trunk/lib/msan/lit_tests/sync_lock_set_and_test.cc
------------------------------------------------------------------------------
    svn:eol-style = LF





More information about the llvm-commits mailing list