diff options
author | Reid Kleckner <reid@kleckner.net> | 2015-04-22 21:14:25 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2015-04-22 21:14:25 +0000 |
commit | 4b24f17c2798976374d7f12dee209f784913e26c (patch) | |
tree | df3d29e0e0e514a3076d1fab2a5931ac2c335276 /clang | |
parent | fd7df284b801bd37af68f1f1a9e0b23c37744d47 (diff) | |
download | bcm5719-llvm-4b24f17c2798976374d7f12dee209f784913e26c.tar.gz bcm5719-llvm-4b24f17c2798976374d7f12dee209f784913e26c.zip |
Fix test failure caused by r235537. It does not run on Windows due to REQUIRES: shell
llvm-svn: 235551
Diffstat (limited to 'clang')
-rw-r--r-- | clang/test/CodeGen/address-safety-attr.cpp | 29 |
1 files changed, 12 insertions, 17 deletions
diff --git a/clang/test/CodeGen/address-safety-attr.cpp b/clang/test/CodeGen/address-safety-attr.cpp index 031d013a9b5..d23b3ff0e48 100644 --- a/clang/test/CodeGen/address-safety-attr.cpp +++ b/clang/test/CodeGen/address-safety-attr.cpp @@ -27,14 +27,14 @@ int DefinedInDifferentFile(int *a); // Check that functions generated for global in different source file are // not blacklisted. -// WITHOUT: @__cxx_global_var_init{{.*}}[[NOATTR_NO_TF:#[0-9]+]] -// WITHOUT: @__cxx_global_array_dtor{{.*}}[[NOATTR_NO_TF]] -// BLFILE: @__cxx_global_var_init{{.*}}[[WITH_NO_TF:#[0-9]+]] -// BLFILE: @__cxx_global_array_dtor{{.*}}[[WITH_NO_TF]] -// BLFUNC: @__cxx_global_var_init{{.*}}[[WITH_NO_TF:#[0-9]+]] -// BLFUNC: @__cxx_global_array_dtor{{.*}}[[WITH_NO_TF]] -// ASAN: @__cxx_global_var_init{{.*}}[[WITH_NO_TF:#[0-9]+]] -// ASAN: @__cxx_global_array_dtor{{.*}}[[WITH_NO_TF]] +// WITHOUT: @__cxx_global_var_init{{.*}}[[NOATTR:#[0-9]+]] +// WITHOUT: @__cxx_global_array_dtor{{.*}}[[NOATTR]] +// BLFILE: @__cxx_global_var_init{{.*}}[[WITH:#[0-9]+]] +// BLFILE: @__cxx_global_array_dtor{{.*}}[[WITH]] +// BLFUNC: @__cxx_global_var_init{{.*}}[[WITH:#[0-9]+]] +// BLFUNC: @__cxx_global_array_dtor{{.*}}[[WITH]] +// ASAN: @__cxx_global_var_init{{.*}}[[WITH:#[0-9]+]] +// ASAN: @__cxx_global_array_dtor{{.*}}[[WITH]] // WITHOUT: NoAddressSafety1{{.*}}) [[NOATTR]] @@ -100,23 +100,18 @@ int force_instance = TemplateAddressSafetyOk<42>() // Check that __cxx_global_var_init* get the sanitize_address attribute. int global1 = 0; int global2 = *(int*)((char*)&global1+1); -// WITHOUT: @__cxx_global_var_init{{.*}}[[NOATTR_NO_TF]] -// BLFILE: @__cxx_global_var_init{{.*}}[[NOATTR_NO_TF:#[0-9]+]] -// BLFUNC: @__cxx_global_var_init{{.*}}[[WITH_NO_TF]] -// ASAN: @__cxx_global_var_init{{.*}}[[WITH_NO_TF]] +// WITHOUT: @__cxx_global_var_init{{.*}}[[NOATTR]] +// BLFILE: @__cxx_global_var_init{{.*}}[[NOATTR:#[0-9]+]] +// BLFUNC: @__cxx_global_var_init{{.*}}[[WITH]] +// ASAN: @__cxx_global_var_init{{.*}}[[WITH]] // WITHOUT: attributes [[NOATTR]] = { nounwind{{.*}} } -// WITHOUT: attributes [[NOATTR_NO_TF]] = { nounwind } // BLFILE: attributes [[WITH]] = { nounwind sanitize_address{{.*}} } -// BLFILE: attributes [[WITH_NO_TF]] = { nounwind sanitize_address } -// BLFILE: attributes [[NOATTR_NO_TF]] = { nounwind } // BLFILE: attributes [[NOATTR]] = { nounwind{{.*}} } // BLFUNC: attributes [[WITH]] = { nounwind sanitize_address{{.*}} } -// BLFUNC: attributes [[WITH_NO_TF]] = { nounwind sanitize_address } // BLFUNC: attributes [[NOATTR]] = { nounwind{{.*}} } // ASAN: attributes [[WITH]] = { nounwind sanitize_address{{.*}} } -// ASAN: attributes [[WITH_NO_TF]] = { nounwind sanitize_address } // ASAN: attributes [[NOATTR]] = { nounwind{{.*}} } |