Lines Matching refs:value_or
417 if (!SecHdrTable || !SecHdrTable->NoHeaders.value_or(false)) in ELFState()
605 assert(!SectionHeaders.NoHeaders.value_or(false) || !SectionHeaders.Sections); in toSectionIndex()
775 if (S->NoHeaders.value_or(false)) in initSectionHeaders()
812 Doc.Header.Machine.value_or(ELF::EM_NONE), Sec->Type, Sec->Name); in initSectionHeaders()
962 Symbol.st_value = Sym.Value.value_or(yaml::Hex64(0)); in toELFSymbols()
964 Symbol.st_size = Sym.Size.value_or(yaml::Hex64(0)); in toELFSymbols()
1435 E.NumBlocks.value_or(E.BBEntries ? E.BBEntries->size() : 0); in writeSectionContent()
1554 Section.NBucket.value_or(llvm::yaml::Hex64(Section.Bucket->size())), in writeSectionContent()
1557 Section.NChain.value_or(llvm::yaml::Hex64(Section.Chain->size())), in writeSectionContent()
1586 VerDef.vd_version = E.Version.value_or(1); in writeSectionContent()
1587 VerDef.vd_flags = E.Flags.value_or(0); in writeSectionContent()
1588 VerDef.vd_ndx = E.VersionNdx.value_or(0); in writeSectionContent()
1589 VerDef.vd_hash = E.Hash.value_or(0); in writeSectionContent()
1898 if (SectionHeaders.NoHeaders.value_or(false)) in buildSectionIndex()
2028 if (!SHT.NoHeaders.value_or(false)) in writeELF()