[llvm-commits] [compiler-rt] r149302 - /compiler-rt/trunk/lib/asan/tests/asan_mac_test.mm

Kostya Serebryany kcc at google.com
Mon Jan 30 15:55:46 PST 2012


Author: kcc
Date: Mon Jan 30 17:55:46 2012
New Revision: 149302

URL: http://llvm.org/viewvc/llvm-project?rev=149302&view=rev
Log:
[asan] re-enable the test for ObjC initialization bug

Modified:
    compiler-rt/trunk/lib/asan/tests/asan_mac_test.mm

Modified: compiler-rt/trunk/lib/asan/tests/asan_mac_test.mm
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/tests/asan_mac_test.mm?rev=149302&r1=149301&r2=149302&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/tests/asan_mac_test.mm (original)
+++ compiler-rt/trunk/lib/asan/tests/asan_mac_test.mm Mon Jan 30 17:55:46 2012
@@ -55,8 +55,7 @@
 
 +(void) load {
   for (int i = 0; i < strlen(kStartupStr); i++) {
-    // TODO: this is currently broken, see Issue 33.
-    // access_memory(&kStartupStr[i]);  // make sure no optimizations occur.
+    access_memory(&kStartupStr[i]);  // make sure no optimizations occur.
   }
   // Don't print anything here not to interfere with the death tests.
 }





More information about the llvm-commits mailing list