diff options
-rw-r--r-- | clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp b/clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp index a1dbcfa3410f..7a5f07e25bc6 100644 --- a/clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp +++ b/clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp @@ -99,6 +99,10 @@ extern "C" int throw_exception() { const clang::CompilerInstance *CI = Interp->getCompilerInstance(); const llvm::Triple &Triple = CI->getASTContext().getTargetInfo().getTriple(); + // AIX is unsupported. + if (Triple.isOSAIX()) + return; + // FIXME: ARM fails due to `Not implemented relocation type!` if (Triple.isARM()) return; |