diff options
author | Leonard Chan <leonardchan@google.com> | 2019-08-20 20:55:36 +0000 |
---|---|---|
committer | Leonard Chan <leonardchan@google.com> | 2019-08-20 20:55:36 +0000 |
commit | b0a7544ee2e369eb34be2e2c33f56d1170b6bde3 (patch) | |
tree | ce643764880e71aabe72c3b05f508a4935640ffb /clang/test/CodeGenCXX/ubsan-coroutines.cpp | |
parent | 63487bfec927e378e67748fee2730eacebfa1a77 (diff) | |
download | bcm5719-llvm-b0a7544ee2e369eb34be2e2c33f56d1170b6bde3.tar.gz bcm5719-llvm-b0a7544ee2e369eb34be2e2c33f56d1170b6bde3.zip |
[NewPM] Run ubsan-coroutines test under the legacy pass manager only
The passes that lower the llvm.coro.* instrinsics have not yet been ported,
so only run under the legacy PM for now.
See https://bugs.llvm.org/show_bug.cgi?id=42867
Differential Revision: https://reviews.llvm.org/D66493
llvm-svn: 369442
Diffstat (limited to 'clang/test/CodeGenCXX/ubsan-coroutines.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/ubsan-coroutines.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/ubsan-coroutines.cpp b/clang/test/CodeGenCXX/ubsan-coroutines.cpp index 7dbda6f45a9..8728c151112 100644 --- a/clang/test/CodeGenCXX/ubsan-coroutines.cpp +++ b/clang/test/CodeGenCXX/ubsan-coroutines.cpp @@ -1,6 +1,8 @@ // This test merely verifies that emitting the object file does not cause a // crash when the LLVM coroutines passes are run. -// RUN: %clang_cc1 -emit-obj -std=c++2a -fsanitize=null %s -o %t.o +// PR42867: Disable this test for the new PM since the passes that lower the +// llvm.coro.* intrinsics have not yet been ported. +// RUN: %clang_cc1 -fno-experimental-new-pass-manager -emit-obj -std=c++2a -fsanitize=null %s -o %t.o namespace std::experimental { template <typename R, typename... T> struct coroutine_traits { |