mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-01 07:11:45 +00:00
Revert "MC/MachO: Fix possible null pointer dereference."
This reverts commit 110575. Target.isAbsolute() is true if SD would be null. llvm-svn: 110683
This commit is contained in:
parent
c90e97f163
commit
26a45fe57e
@ -835,7 +835,7 @@ public:
|
||||
// FIXME: Currently, these are never generated (see code below). I cannot
|
||||
// find a case where they are actually emitted.
|
||||
Type = RIT_Vanilla;
|
||||
} else if (SD) {
|
||||
} else {
|
||||
// Check whether we need an external or internal relocation.
|
||||
if (doesSymbolRequireExternRelocation(SD)) {
|
||||
IsExtern = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user