aboutsummaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp')
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
index 1eb7bf2dc8..c0845fbbb2 100644
--- a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
+++ b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
@@ -181,7 +181,7 @@ void RuntimeDyldELF::resolveX86_64Relocation(StringRef Name,
Loc->second.second + RE.Offset;
} else {
// FIXME: Get the address of the target section and add that to RE.Offset
- assert(0 && ("Non-function relocation not implemented yet!"));
+ llvm_unreachable("Non-function relocation not implemented yet!");
}
switch (RE.Type) {
@@ -230,7 +230,7 @@ void RuntimeDyldELF::resolveX86Relocation(StringRef Name,
Loc->second.second + RE.Offset;
} else {
// FIXME: Get the address of the target section and add that to RE.Offset
- assert(0 && ("Non-function relocation not implemented yet!"));
+ llvm_unreachable("Non-function relocation not implemented yet!");
}
switch (RE.Type) {