Skip to content

Commit 260d5af

Browse files
author
kr-2003
committed
testing
1 parent f477317 commit 260d5af

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

clang/unittests/Interpreter/InterpreterTest.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,15 @@ createInterpreterWithRemoteExecution(const Args &ExtraArgs = {},
114114
llvm::Triple SystemTriple(llvm::sys::getProcessTriple());
115115

116116
std::cout << "System Triple: " << SystemTriple.getTriple() << "\n";
117-
std::cout << "Executor Path: " << getExecutorPath() << "\n";
118117

119118
if ((SystemTriple.isOSBinFormatELF() || SystemTriple.isOSBinFormatMachO())) {
120119
std::string OOPExecutor = getExecutorPath();
120+
std::cout << "Executor Path: " << OOPExecutor << "\n";
121+
if (!llvm::sys::fs::exists(OOPExecutor)) {
122+
std::cerr << "Executor path does not exist: " << OOPExecutor << std::endl;
123+
return nullptr;
124+
}
125+
121126
bool UseSharedMemory = false;
122127
std::string SlabAllocateSizeString = "";
123128
std::unique_ptr<llvm::orc::ExecutorProcessControl> EPC;

0 commit comments

Comments
 (0)