mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-08 19:46:39 +00:00
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:
parent
cc870a8f93
commit
408a25c583
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user