forked from OSchip/llvm-project
Simplify. NFC.
We handled all undefined symbols before this. llvm-svn: 312808
This commit is contained in:
parent
bb468da200
commit
716c57bfb5
|
@ -1252,7 +1252,7 @@ static bool computeIsPreemptible(const SymbolBody &B) {
|
||||||
|
|
||||||
// -Bsymbolic means that definitions are not preempted.
|
// -Bsymbolic means that definitions are not preempted.
|
||||||
if (Config->Bsymbolic || (Config->BsymbolicFunctions && B.isFunc()))
|
if (Config->Bsymbolic || (Config->BsymbolicFunctions && B.isFunc()))
|
||||||
return !B.isDefined();
|
return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue