[ELF] Remove FIXME(s) that are already fixed.
FIXME code was left around in few places where its already been taken care of. This removes the FIXME's that are not needed. llvm-svn: 230139
This commit is contained in:
parent
99abafb4af
commit
75ed9746e6
|
@ -124,9 +124,8 @@ public:
|
||||||
|
|
||||||
StringRef name() const override { return _name; }
|
StringRef name() const override { return _name; }
|
||||||
|
|
||||||
// FIXME: What distinguishes a symbol in ELF that can help decide if the
|
// A symbol in ELF can be undefined at build time if the symbol is a undefined
|
||||||
// symbol is undefined only during build and not runtime? This will make us
|
// weak symbol.
|
||||||
// choose canBeNullAtBuildtime and canBeNullAtRuntime.
|
|
||||||
CanBeNull canBeNull() const override {
|
CanBeNull canBeNull() const override {
|
||||||
if (_symbol->getBinding() == llvm::ELF::STB_WEAK)
|
if (_symbol->getBinding() == llvm::ELF::STB_WEAK)
|
||||||
return CanBeNull::canBeNullAtBuildtime;
|
return CanBeNull::canBeNullAtBuildtime;
|
||||||
|
@ -192,7 +191,6 @@ public:
|
||||||
// FIXME: Need to revisit this in future.
|
// FIXME: Need to revisit this in future.
|
||||||
Interposable interposable() const override { return interposeNo; }
|
Interposable interposable() const override { return interposeNo; }
|
||||||
|
|
||||||
// FIXME: What ways can we determine this in ELF?
|
|
||||||
Merge merge() const override {
|
Merge merge() const override {
|
||||||
if (_symbol->getBinding() == llvm::ELF::STB_WEAK)
|
if (_symbol->getBinding() == llvm::ELF::STB_WEAK)
|
||||||
return mergeAsWeak;
|
return mergeAsWeak;
|
||||||
|
|
Loading…
Reference in New Issue