Explain to the compiler why TargetAddr is not used uninitialized later.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149832 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan Sands 2012-02-05 14:14:35 +00:00
parent cc870a8f93
commit 408a25c583

View File

@ -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) {