[PATCH] D66493: [NewPM] Run ubsan-coroutines test under the legacy pass manager only
This revision was automatically updated to reflect the committed changes. Closed by commit rL369442: [NewPM] Run ubsan-coroutines test under the legacy pass manager only (authored by leonardchan, committed by ). Herald added a project: LLVM. Herald added a subscriber: llvm-commits. Changed prior to commit: https://reviews.llvm.org/D66493?vs=216230=216242#toc Repository: rL LLVM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D66493/new/ https://reviews.llvm.org/D66493 Files: cfe/trunk/test/CodeGenCXX/ubsan-coroutines.cpp Index: cfe/trunk/test/CodeGenCXX/ubsan-coroutines.cpp === --- cfe/trunk/test/CodeGenCXX/ubsan-coroutines.cpp +++ cfe/trunk/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 struct coroutine_traits { Index: cfe/trunk/test/CodeGenCXX/ubsan-coroutines.cpp === --- cfe/trunk/test/CodeGenCXX/ubsan-coroutines.cpp +++ cfe/trunk/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 struct coroutine_traits { ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[PATCH] D66493: [NewPM] Run ubsan-coroutines test under the legacy pass manager only
vsk accepted this revision. vsk added a comment. This revision is now accepted and ready to land. Thanks, lgtm. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D66493/new/ https://reviews.llvm.org/D66493 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[PATCH] D66493: [NewPM] Run ubsan-coroutines test under the legacy pass manager only
leonardchan created this revision. leonardchan added reviewers: vsk, modocache. leonardchan added a project: clang. Herald added a subscriber: EricWF. 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 Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D66493 Files: clang/test/CodeGenCXX/ubsan-coroutines.cpp Index: clang/test/CodeGenCXX/ubsan-coroutines.cpp === --- clang/test/CodeGenCXX/ubsan-coroutines.cpp +++ 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 struct coroutine_traits { Index: clang/test/CodeGenCXX/ubsan-coroutines.cpp === --- clang/test/CodeGenCXX/ubsan-coroutines.cpp +++ 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 struct coroutine_traits { ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits