[ubsan] Fix test when isPICDefault() returns false after rCTE352003

llvm-svn: 352013
This commit is contained in:
Fangrui Song 2019-01-24 02:56:34 +00:00
parent 386a4b5c0a
commit 4d91cf71cc
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
// Ensure compatiblity of UBSan unreachable with ASan in the presence of
// noreturn functions
// RUN: %clang -O2 -fsanitize=address,unreachable %s -emit-llvm -S -o - | FileCheck %s
// RUN: %clang -O2 -fPIC -fsanitize=address,unreachable %s -emit-llvm -S -o - | FileCheck %s
// REQUIRES: ubsan-asan
void bar(void) __attribute__((noreturn));