]> granicus.if.org Git - clang/commitdiff
Try to get buildbots to pass these tests.
authorBill Wendling <isanbard@gmail.com>
Thu, 21 Feb 2013 19:44:18 +0000 (19:44 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 21 Feb 2013 19:44:18 +0000 (19:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175784 91177308-0d34-0410-b5e6-96231b3b80d8

test/CXX/special/class.dtor/p3-0x.cpp
test/CodeGen/address-safety-attr.cpp

index c3d3f6ab369e3060271e95c0797fd700c3b8b487..dc76e00308209997877ea94b9ecf94cde5d30e76 100644 (file)
@@ -176,4 +176,4 @@ struct TVC : VX
 template <typename T>
 TVC<T>::~TVC() {}
 
-// CHECK: attributes [[ATTRGRP]] = { nounwind "target-features"={{.*}} }
+// CHECK: attributes [[ATTRGRP]] = { nounwind{{.*}} }
index 827f8d15b4d02242138b52e2827e0550e4085a4d..5f098fd983159b0ff3445202870fa2850a6a2bef 100644 (file)
@@ -47,12 +47,15 @@ int force_instance = TemplateAddressSafetyOk<42>()
 // Check that __cxx_global_var_init* get the address_safety attribute.
 int global1 = 0;
 int global2 = *(int*)((char*)&global1+1);
-// WITHOUT: @__cxx_global_var_init{{.*}}#1
-// BL: @__cxx_global_var_init{{.*}}#1
-// ASAN: @__cxx_global_var_init{{.*}}#2
-
-// WITHOUT: attributes #[[NOATTR]] = { nounwind "target-features"={{.*}} }
-// BL: attributes #[[NOATTR]] = { nounwind "target-features"={{.*}} }
-
-// ASAN: attributes #[[NOATTR]] = { nounwind "target-features"={{.*}} }
-// ASAN: attributes #[[WITH]] = { address_safety nounwind "target-features"={{.*}} }
+// WITHOUT: @__cxx_global_var_init{{.*}}#[[GVI:[0-9]+]]
+// BL: @__cxx_global_var_init{{.*}}#[[GVI:[0-9]+]]
+// ASAN: @__cxx_global_var_init{{.*}}#[[GVI:[0-9]+]]
+
+// WITHOUT: attributes #[[NOATTR]] = { nounwind{{.*}} }
+// WITHOUT: attributes #[[GVI]] = { nounwind{{.*}} }
+// BL: attributes #[[NOATTR]] = { nounwind{{.*}} }
+// BL: attributes #[[GVI]] = { nounwind{{.*}} }
+
+// ASAN: attributes #[[NOATTR]] = { nounwind{{.*}} }
+// ASAN: attributes #[[WITH]] = { address_safety nounwind{{.*}} }
+// ASAN: attributes #[[GVI]] = { address_safety nounwind{{.*}} }