Searched full:noheaders (Results 1 – 13 of 13) sorted by relevance
25 # RUN: yaml2obj %s -DFILESIZE=0x12 -DNOHEADERS=true -o %t1.noheaders26 # RUN: llvm-readobj %t1.noheaders --dynamic-table 2>&1 | FileCheck -DFILE=%t1.noheaders %s \27 # RUN: --check-prefix=WARN1-NOHEADERS --implicit-check-not="DynamicSection ["28 # RUN: llvm-readelf %t1.noheaders --dynamic-table 2>&1 | FileCheck -DFILE=%t1.noheaders %s \29 # RUN: --check-prefix=WARN1-NOHEADERS --implicit-check-not="Dynamic section"31 # WARN1-NOHEADERS: warning: '[[FILE]]': PT_DYNAMIC segment offset (0x1000) + file size (0x12) excee…48 # RUN: yaml2obj %s -DOFFSET=0x1112 -DNOHEADERS=true -o %t2.noheaders49 # RUN: llvm-readobj %t2.noheaders --dynamic-table 2>&1 | FileCheck -DFILE=%t2.noheaders %s \50 # RUN: --check-prefix=WARN2-NOHEADERS --implicit-check-not="DynamicSection ["51 # RUN: llvm-readelf %t2.noheaders --dynamic-table 2>&1 | FileCheck -DFILE=%t2.noheaders %s \[all …]
63 NoHeaders: true
117 NoHeaders: [[NOHEADERS=false]]
219 NoHeaders: true
461 NoHeaders: true
99 ## Test that we are able to use "NoHeaders" property to produce an empty section header table.117 NoHeaders: [[NOHEADERS]]119 ## Test that we are able to set NoHeaders to false. In this case the tool produces an output136 ## Check we do not allow using "Sections" together with "NoHeaders".140 # SECTIONS-NO-HEADERS: error: NoHeaders can't be used together with Sections/Excluded152 NoHeaders: [[NOHEADERS]]157 # NO-VALUE: SectionHeaderTable can't be empty. Use 'NoHeaders' key to drop the section header table192 NoHeaders: true251 ## Check that when "NoHeaders" is set to "true" then we don't emit279 NoHeaders: true
484 ## Check we do not allow using "Excluded" together with "NoHeaders".485 … yaml2obj %s --docnum=19 -DNOHEADERS=true -o /dev/null 2>&1 | FileCheck %s --check-prefix=NOHEADERS486 …yaml2obj %s --docnum=19 -DNOHEADERS=false -o /dev/null 2>&1 | FileCheck %s --check-prefix=NOHEADERS487 # NOHEADERS: NoHeaders can't be used together with Sections/Excluded495 NoHeaders: [[NOHEADERS]]
57 ## FIXME: we should emit the `SectionHeaderTable` key with `NoHeaders=true` for this case.
370 if (!Doc.SectionHeaders || !Doc.SectionHeaders->NoHeaders.getValueOr(false)) in ELFState()447 (Doc.SectionHeaders->NoHeaders && !*Doc.SectionHeaders->NoHeaders)) in writeELFHeader()531 if (!Doc.SectionHeaders || (Doc.SectionHeaders->NoHeaders && in toSectionIndex()532 !Doc.SectionHeaders->NoHeaders.getValue())) in toSectionIndex()535 assert(!Doc.SectionHeaders->NoHeaders.getValueOr(false) || in toSectionIndex()1766 if (!Doc.SectionHeaders || Doc.SectionHeaders->NoHeaders) in buildSectionHeaderReorderMap()1820 if (Doc.SectionHeaders->NoHeaders.getValueOr(false)) in buildSectionIndex()1930 !Doc.SectionHeaders || !Doc.SectionHeaders->NoHeaders.getValueOr(false); in writeELF()
867 IO.mapOptional("NoHeaders", SectionHeader.NoHeaders); in mapping()872 if (SecHdrTable.NoHeaders && (SecHdrTable.Sections || SecHdrTable.Excluded)) in validate()873 return "NoHeaders can't be used together with Sections/Excluded"; in validate()874 if (!SecHdrTable.NoHeaders && !SecHdrTable.Sections && !SecHdrTable.Excluded) in validate()875 return "SectionHeaderTable can't be empty. Use 'NoHeaders' key to drop the " in validate()
100 Optional<bool> NoHeaders; member
846 def noheaders(): function
2377 def noheaders(): function