diff options
-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 { |