diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-02-27 00:06:04 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-02-27 00:06:04 +0000 |
commit | 899245792776dd219a3c36eb19b42272e270bc0c (patch) | |
tree | 6ac05a34d42c4b09361726b0125cb335297ee3ee /test/CodeGen/sanitize-thread-attr.cpp | |
parent | deb8f5d533b7bcd962976ecdbc1464fe754b6de0 (diff) |
Reapply r176133 with testcase fixes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176145 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/sanitize-thread-attr.cpp')
-rw-r--r-- | test/CodeGen/sanitize-thread-attr.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/test/CodeGen/sanitize-thread-attr.cpp b/test/CodeGen/sanitize-thread-attr.cpp index 09f4db5750..2dec3c48c6 100644 --- a/test/CodeGen/sanitize-thread-attr.cpp +++ b/test/CodeGen/sanitize-thread-attr.cpp @@ -46,15 +46,12 @@ int force_instance = TemplateTSANOk<42>() // Check that __cxx_global_var_init* get the sanitize_thread attribute. int global1 = 0; int global2 = *(int*)((char*)&global1+1); -// WITHOUT: @__cxx_global_var_init{{.*}}#[[GVI:[0-9]+]] -// BL: @__cxx_global_var_init{{.*}}#[[GVI:[0-9]+]] -// TSAN: @__cxx_global_var_init{{.*}}#[[GVI:[0-9]+]] +// WITHOUT: @__cxx_global_var_init{{.*}}#[[NOATTR]] +// BL: @__cxx_global_var_init{{.*}}#[[NOATTR]] +// TSAN: @__cxx_global_var_init{{.*}}#[[WITH]] // WITHOUT: attributes #[[NOATTR]] = { nounwind{{.*}} } -// WITHOUT: attributes #[[GVI]] = { nounwind{{.*}} } // BL: attributes #[[NOATTR]] = { nounwind{{.*}} } -// BL: attributes #[[GVI]] = { nounwind{{.*}} } // TSAN: attributes #[[NOATTR]] = { nounwind{{.*}} } // TSAN: attributes #[[WITH]] = { nounwind{{.*}} sanitize_thread -// TSAN: attributes #[[GVI]] = { nounwind{{.*}} sanitize_thread |