Skip to content

Commit ca003ee

Browse files
authored
[clang-repl] Disable InterpreterExceptionTest on RISC-V (llvm#68216)
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. As the test always failed, it just wasn't run until now, I think skipping is the correct interim approach (as is already done for Arm, Darwin, and others).
1 parent a1e81d2 commit ca003ee

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)