[compiler-rt] r352013 - [ubsan] Fix test when isPICDefault() returns false after rCTE352003
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 23 18:56:34 PST 2019
Author: maskray
Date: Wed Jan 23 18:56:34 2019
New Revision: 352013
URL: http://llvm.org/viewvc/llvm-project?rev=352013&view=rev
Log:
[ubsan] Fix test when isPICDefault() returns false after rCTE352003
Modified:
compiler-rt/trunk/test/ubsan/TestCases/Misc/unreachable_asan-compatibility.c
Modified: compiler-rt/trunk/test/ubsan/TestCases/Misc/unreachable_asan-compatibility.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/ubsan/TestCases/Misc/unreachable_asan-compatibility.c?rev=352013&r1=352012&r2=352013&view=diff
==============================================================================
--- compiler-rt/trunk/test/ubsan/TestCases/Misc/unreachable_asan-compatibility.c (original)
+++ compiler-rt/trunk/test/ubsan/TestCases/Misc/unreachable_asan-compatibility.c Wed Jan 23 18:56:34 2019
@@ -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));
More information about the llvm-commits
mailing list