aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests
diff options
context:
space:
mode:
authorSunho Kim <ksunhokim123@gmail.com>2022-07-28 22:40:33 +0900
committerSunho Kim <ksunhokim123@naver.com>2022-07-28 22:48:51 +0900
commitbd08f413c089da5a56438cc8902f60df91a08a66 (patch)
treef6d9f45e37215fd5bb9be7e8ad8e485af2452b0a /clang/unittests
parentea7f14dad068b094d44648ca8bba3cd36b10d12a (diff)
[clang-repl] Disable exception unittest on AIX.
AIX platform was not supported but it was not explicitly checked in exception test as it was excluded by isPPC() check.
Diffstat (limited to 'clang/unittests')
-rw-r--r--clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp4
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;