A small tweak was required to llvm-readobj to avoid false passes.
In FileCheck, 'MIPS32' matches both 'MIPS32' and 'MIPS32r6' so llvm-readobj
now emits 'MIPS32 (MIPS32 revision 1)', 'MIPS2 (MIPS2 revision 0)', etc.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
In general the patch is LGTM. But maybe it is better to achieve the same result without making the llvm-readobj more verbose. The following string does not produce false positive result on ISA: MIPS32r6 input:
ISA: {{MIPS32$}}