Skip to content

Commit ce071ab

Browse files
author
kr-2003
committed
testing
1 parent 177ca20 commit ce071ab

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

clang/unittests/Interpreter/InterpreterTest.cpp

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,13 @@ createInterpreterWithRemoteExecution(const Args &ExtraArgs = {},
124124
return nullptr;
125125
}
126126

127+
std::string OrcRuntimePath = getOrcRuntimePath();
128+
129+
if(!llvm::sys::fs::exists(OrcRuntimePath)) {
130+
std::cout << "ORC runtime path does not exist: " << OrcRuntimePath
131+
<< std::endl;
132+
}
133+
127134
bool UseSharedMemory = false;
128135
std::string SlabAllocateSizeString = "";
129136
std::unique_ptr<llvm::orc::ExecutorProcessControl> EPC;
@@ -144,7 +151,7 @@ createInterpreterWithRemoteExecution(const Args &ExtraArgs = {},
144151
setvbuf(stdout, nullptr, _IONBF, 0);
145152
setvbuf(stderr, nullptr, _IONBF, 0);
146153
}));
147-
std::string OrcRuntimePath = getOrcRuntimePath();
154+
OrcRuntimePath = getOrcRuntimePath();
148155

149156
std::cout << "Orc Runtime Path: " << OrcRuntimePath << "\n";
150157

0 commit comments

Comments
 (0)