diff options
author | Duncan Sands <baldrick@free.fr> | 2012-02-05 14:14:35 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2012-02-05 14:14:35 +0000 |
commit | bc3f4730c5d9f741070fa3ffeeae94cb0f425826 (patch) | |
tree | dba4fb8fac681d495585154b468b7836ca14ebea /llvm/lib/ExecutionEngine/RuntimeDyld | |
parent | 6a7644683cf6857e55bf8b75ef9cbb6b9f4e5b1c (diff) | |
download | bcm5719-llvm-bc3f4730c5d9f741070fa3ffeeae94cb0f425826.tar.gz bcm5719-llvm-bc3f4730c5d9f741070fa3ffeeae94cb0f425826.zip |
Explain to the compiler why TargetAddr is not used uninitialized later.
llvm-svn: 149832
Diffstat (limited to 'llvm/lib/ExecutionEngine/RuntimeDyld')
-rw-r--r-- | llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp index 1eb7bf2dc81..c0845fbbb20 100644 --- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp +++ b/llvm/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) { |