Details
Details
Diff Detail
Diff Detail
Event Timeline
test/Object/objdump-no-sectionheaders.test | ||
---|---|---|
4 | Some tools e.g. readelf explicitly report that the section table is empty / does not exist - e.g. There are no sections in this file. GNU objdump matches this behaviour - i.e., outputs the header, but an empty table. Sections: Idx Name Size VMA LMA File off Algn This output seems reasonable to me - I just don't know how to match the EOF with lit in order to verify that no sections were output. |
Comment Actions
I think you can use
; CHECK-NOT: {{.}}
in the end of the file.
LGTM with that.
BTW, I don't think reviews.llvm.org works with binary files.
Some tools e.g. readelf explicitly report that the section table is empty / does not exist - e.g. There are no sections in this file.
GNU objdump matches this behaviour - i.e., outputs the header, but an empty table.
This output seems reasonable to me - I just don't know how to match the EOF with lit in order to verify that no sections were output.