Skip to content

Commit ee5417d

Browse files
committed
[llvm-rtdyld] Fix the return type on ErrorAndExit.
As suggested by Rafael - this function no longer returns a value as of r264425. llvm-svn: 265451
1 parent 50e6cd4 commit ee5417d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ uint8_t *TrivialMemoryManager::allocateDataSection(uintptr_t Size,
254254

255255
static const char *ProgramName;
256256

257-
static int ErrorAndExit(const Twine &Msg) {
257+
static void ErrorAndExit(const Twine &Msg) {
258258
errs() << ProgramName << ": error: " << Msg << "\n";
259259
exit(1);
260260
}

0 commit comments

Comments
 (0)