[UBSan] Add missing `%run` prefixes to Pointer tests.

Summary: rdar://problem/41126835

Reviewers: vsk, kubamracek

Subscribers: #sanitizers, llvm-commits

Differential Revision: https://reviews.llvm.org/D51271

llvm-svn: 341298
This commit is contained in:
Dan Liew 2018-09-03 08:33:24 +00:00
parent f03e049234
commit 4218a00697
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
// RUN: %clangxx -fsanitize=pointer-overflow %s -o %t
// RUN: %t 1 2>&1 | FileCheck %s --check-prefix=ERR
// RUN: %t 0 2>&1 | FileCheck %s --check-prefix=SAFE
// RUN: %t -1 2>&1 | FileCheck %s --check-prefix=SAFE
// RUN: %run %t 1 2>&1 | FileCheck %s --check-prefix=ERR
// RUN: %run %t 0 2>&1 | FileCheck %s --check-prefix=SAFE
// RUN: %run %t -1 2>&1 | FileCheck %s --check-prefix=SAFE
#include <stdio.h>
#include <stdint.h>

View File

@ -1,5 +1,5 @@
// RUN: %clangxx -std=c++11 -fsanitize=pointer-overflow %s -o %t
// RUN: %t 2>&1 | FileCheck %s
// RUN: %run %t 2>&1 | FileCheck %s
int main(int argc, char *argv[]) {
char c;