Skip to content

Commit 6436cff

Browse files
committed
[clang-repl] Disable InterpreterExceptionTest on RISC-V
This test fails as .eh_frame handling is not yet implemented for RISC-V in JITLink. llvm#66067 is proposed to address this. Skip the test until the issue is resolved. It seems that D159167 enabled this test for more than just ppc64.
1 parent e00f227 commit 6436cff

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,11 @@ extern "C" int throw_exception() {
122122
Triple.getArch() == llvm::Triple::aarch64_32))
123123
GTEST_SKIP();
124124

125+
// FIXME: RISC-V fails as .eh_frame handling is not yet implemented in
126+
// JITLink for RISC-V. See PR #66067.
127+
if (Triple.isRISCV())
128+
GTEST_SKIP();
129+
125130
llvm::cantFail(Interp->ParseAndExecute(ExceptionCode));
126131
testing::internal::CaptureStdout();
127132
auto ThrowException =

0 commit comments

Comments
 (0)