forked from OSchip/llvm-project
parent
9bd85d2286
commit
4c1cd45965
|
@ -194,19 +194,15 @@ public:
|
||||||
this->File = File;
|
this->File = File;
|
||||||
}
|
}
|
||||||
|
|
||||||
DefinedRegular(StringRef Name, uint8_t StOther, uint8_t Type, uintX_t Value,
|
|
||||||
uintX_t Size, InputSectionBase<ELFT> *Section)
|
|
||||||
: DefinedRegular(Name, StOther, Type, Value, Size, Section,
|
|
||||||
Section ? Section->getFile() : nullptr) {}
|
|
||||||
|
|
||||||
DefinedRegular(StringRef Name, const Elf_Sym &Sym,
|
DefinedRegular(StringRef Name, const Elf_Sym &Sym,
|
||||||
InputSectionBase<ELFT> *Section)
|
InputSectionBase<ELFT> *Section)
|
||||||
: DefinedRegular(Name, Sym.st_other, Sym.getType(), Sym.st_value,
|
: DefinedRegular(Name, Sym.st_other, Sym.getType(), Sym.st_value,
|
||||||
Sym.st_size, Section) {}
|
Sym.st_size, Section,
|
||||||
|
Section ? Section->getFile() : nullptr) {}
|
||||||
|
|
||||||
DefinedRegular(StringRef Name, uint8_t StOther)
|
DefinedRegular(StringRef Name, uint8_t StOther)
|
||||||
: DefinedRegular(Name, StOther, llvm::ELF::STT_NOTYPE, 0, 0,
|
: DefinedRegular(Name, StOther, llvm::ELF::STT_NOTYPE, 0, 0,
|
||||||
NullInputSection) {}
|
NullInputSection, nullptr) {}
|
||||||
|
|
||||||
DefinedRegular(StringRef Name, uint8_t StOther, uint8_t Type, BitcodeFile *F)
|
DefinedRegular(StringRef Name, uint8_t StOther, uint8_t Type, BitcodeFile *F)
|
||||||
: DefinedRegular(Name, StOther, Type, 0, 0, NullInputSection, F) {}
|
: DefinedRegular(Name, StOther, Type, 0, 0, NullInputSection, F) {}
|
||||||
|
|
Loading…
Reference in New Issue