forked from OSchip/llvm-project
[ubsan] Remove REQUIRED from some TestCases
It's not obvious why they are needed, and tests pass. Reviewed By: lebedev.ri Differential Revision: https://reviews.llvm.org/D111859
This commit is contained in:
parent
47eb99aa44
commit
e0f3a3b228
|
@ -1,7 +1,6 @@
|
|||
// RUN: %clangxx -fsanitize=implicit-integer-sign-change %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
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
// RUN: %clangxx -fsanitize=implicit-signed-integer-truncation,implicit-integer-sign-change %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
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
// RUN: %clangxx -fsanitize=implicit-signed-integer-truncation %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
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
// RUN: %clangxx -fsanitize=implicit-unsigned-integer-truncation %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
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
// 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
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
// RUN: %run %t 2>&1 | FileCheck %s --check-prefixes=CHECK-NOTYPE,CHECK-NOTYPE-CPP
|
||||
// RUN: %env_ubsan_opts=report_error_type=1 %run %t 2>&1 | FileCheck %s --check-prefixes=CHECK-TYPE,CHECK-TYPE-CPP
|
||||
|
||||
// REQUIRES: !ubsan-standalone && !ubsan-standalone-static
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
|
|
Loading…
Reference in New Issue