This merges invalid-attr-section-size.test and invalid-attr-version.test
into invalid-attributes-sec.test.
This allows to have a single place where other related test cases can be added.
Differential D92316
[llvm-readobj][test] - Merge 2 test cases together. grimar on Nov 30 2020, 6:12 AM. Authored by
Details This merges invalid-attr-section-size.test and invalid-attr-version.test This allows to have a single place where other related test cases can be added.
Diff Detail Event TimelineComment Actions LG. I wonder the test should be named attributes-invalid.test since users can find related tests by checking the prefix.
Comment Actions LGTM.
|
The intent of the invalid-attr-section-size.test was simply to show that llvm-readobj usefully reports the errors reported by the attribute parser, hence why the comment didn't mention the specific details. See https://reviews.llvm.org/D75833#1948304 and other comments in that review for context. Perhaps it is worth keeping the comment for that case generic like in the original, so that the intent isn't lost (the attribute parser unit tests are for testing the details of the parser).