Author: leonardchan Date: Tue Aug 20 13:55:36 2019 New Revision: 369442 URL: http://llvm.org/viewvc/llvm-project?rev=369442&view=rev Log: [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 Modified: cfe/trunk/test/CodeGenCXX/ubsan-coroutines.cpp Modified: cfe/trunk/test/CodeGenCXX/ubsan-coroutines.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/ubsan-coroutines.cpp?rev=369442&r1=369441&r2=369442&view=diff ============================================================================== --- cfe/trunk/test/CodeGenCXX/ubsan-coroutines.cpp (original) +++ cfe/trunk/test/CodeGenCXX/ubsan-coroutines.cpp Tue Aug 20 13:55:36 2019 @@ -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 { _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits