summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/ubsan/TestCases/Pointer/alignment-assumption-summary.cpp
diff options
context:
space:
mode:
authorVlad Tsyrklevich <vlad@tsyrklevich.net>2019-01-15 03:38:02 +0000
committerVlad Tsyrklevich <vlad@tsyrklevich.net>2019-01-15 03:38:02 +0000
commit86e68fda3b1b3ebe712bb06558b863de2784be29 (patch)
tree38facfcc854f734b96f6ebaba219b649c3514da1 /compiler-rt/test/ubsan/TestCases/Pointer/alignment-assumption-summary.cpp
parent2d5b317cfc9837ed5e3886c4b989538176517d62 (diff)
downloadbcm5719-llvm-86e68fda3b1b3ebe712bb06558b863de2784be29.tar.gz
bcm5719-llvm-86e68fda3b1b3ebe712bb06558b863de2784be29.zip
Revert alignment assumptions changes
Revert r351104-6, r351109, r351110, r351119, r351134, and r351153. These changes fail on the sanitizer bots. llvm-svn: 351159
Diffstat (limited to 'compiler-rt/test/ubsan/TestCases/Pointer/alignment-assumption-summary.cpp')
-rw-r--r--compiler-rt/test/ubsan/TestCases/Pointer/alignment-assumption-summary.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/compiler-rt/test/ubsan/TestCases/Pointer/alignment-assumption-summary.cpp b/compiler-rt/test/ubsan/TestCases/Pointer/alignment-assumption-summary.cpp
deleted file mode 100644
index 90ecd4d8434..00000000000
--- a/compiler-rt/test/ubsan/TestCases/Pointer/alignment-assumption-summary.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
-// RUN: %clangxx -fsanitize=alignment %s -o %t
-// RUN: %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-NOTYPE
-// RUN: %env_ubsan_opts=report_error_type=1 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-TYPE
-// REQUIRES: !ubsan-standalone && !ubsan-standalone-static
-
-int main(int argc, char* argv[]) {
- __builtin_assume_aligned(argv, 0x80000000);
- // CHECK-NOTYPE: SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior {{.*}}summary.cpp:[[@LINE-1]]:28
- // CHECK-TYPE: SUMMARY: UndefinedBehaviorSanitizer: alignment-assumption {{.*}}summary.cpp:[[@LINE-2]]:28
- return 0;
-}
OpenPOWER on IntegriCloud