diff options
author | Kostya Serebryany <kcc@google.com> | 2014-10-17 00:47:30 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2014-10-17 00:47:30 +0000 |
commit | 23387754f8017bde0ee47eee8c6a9946ed860d08 (patch) | |
tree | 24eb4a20774e179e602eca456af3ae0a9a66878e /clang/test/CodeGen/sanitize-address-field-padding.cpp | |
parent | d950fa7165de671258c8aa3aff396214fdf80014 (diff) | |
download | bcm5719-llvm-23387754f8017bde0ee47eee8c6a9946ed860d08.tar.gz bcm5719-llvm-23387754f8017bde0ee47eee8c6a9946ed860d08.zip |
trying to fix the new test again, this time for the clang-cmake-armv7-a15 bot
llvm-svn: 220002
Diffstat (limited to 'clang/test/CodeGen/sanitize-address-field-padding.cpp')
-rw-r--r-- | clang/test/CodeGen/sanitize-address-field-padding.cpp | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/clang/test/CodeGen/sanitize-address-field-padding.cpp b/clang/test/CodeGen/sanitize-address-field-padding.cpp index edea1291dd6..c19055c3f0f 100644 --- a/clang/test/CodeGen/sanitize-address-field-padding.cpp +++ b/clang/test/CodeGen/sanitize-address-field-padding.cpp @@ -16,7 +16,7 @@ // CHECK: -fsanitize-address-field-padding ignored for Negative4 because it is trivially copyable // CHECK: -fsanitize-address-field-padding ignored for Negative5 because it is packed // CHECK: -fsanitize-address-field-padding ignored for SomeNamespace::BlacklistedByName because it is blacklisted -// CHECK: -fsanitize-address-field-padding ignored for ExternCStruct because it is not C++ +// CHECK: -fsanitize-address-field-padding ignored for ExternCStruct because it is not C++ // // FILE_BLACKLIST: -fsanitize-address-field-padding ignored for Positive1 because it is in a blacklisted file // FILE_BLACKLIST-NOT: __asan_poison_intra_object_redzone @@ -120,7 +120,7 @@ class ExternCStruct { ExternCStruct extern_C_struct; // CTOR -// CHECK-LABEL: define linkonce_odr void @_ZN9Positive1C1Ev +// CHECK-LABEL: define linkonce_odr void {{.*}}Positive1 // CHECK: call void @__asan_poison_intra_object_redzone({{.*}}12) // CHECK: call void @__asan_poison_intra_object_redzone({{.*}}15) // CHECK: call void @__asan_poison_intra_object_redzone({{.*}}12) @@ -128,8 +128,8 @@ ExternCStruct extern_C_struct; // CHECK: call void @__asan_poison_intra_object_redzone({{.*}}8) // CHECK-NOT: __asan_poison_intra_object_redzone // CHECK: ret void +// // DTOR -// CHECK-LABEL: define linkonce_odr void @_ZN9Positive1D1Ev // CHECK: call void @__asan_unpoison_intra_object_redzone({{.*}}12) // CHECK: call void @__asan_unpoison_intra_object_redzone({{.*}}15) // CHECK: call void @__asan_unpoison_intra_object_redzone({{.*}}12) @@ -137,16 +137,3 @@ ExternCStruct extern_C_struct; // CHECK: call void @__asan_unpoison_intra_object_redzone({{.*}}8) // CHECK-NOT: __asan_unpoison_intra_object_redzone // CHECK: ret void -// -// CHECK-LABEL: define linkonce_odr void @_ZN9Negative1C1Ev -// CHECK-NOT: call void @__asan_poison_intra_object_redzone -// CHECK: ret void -// -// CHECK-LABEL: define linkonce_odr void @_ZN9Negative2C1Ev -// CHECK-NOT: call void @__asan_poison_intra_object_redzone -// CHECK: ret void -// -// CHECK-LABEL: define linkonce_odr void @_ZN9Negative4C1Ev -// CHECK-NOT: call void @__asan_poison_intra_object_redzone -// CHECK: ret void - |