[PATCH] D63927: [Object/invalid.test] - Convert Object/corrupt.test to YAML and merge the result into invalid.test
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 2 05:33:21 PDT 2019
jhenderson added inline comments.
================
Comment at: test/Object/invalid.test:366
+# RUN: yaml2obj %s --docnum=18 -o %t18
+# RUN: not llvm-readobj -sections -section-data %t18 2>&1 | FileCheck --check-prefix=BROKEN-SECSHOFFSET %s
+
----------------
-sections -> --sections
-section-data --section-data
================
Comment at: test/Object/invalid.test:385
+# RUN: yaml2obj %s --docnum=19 -o %t19
+# RUN: not llvm-readobj -symbols %t19 2>&1 | FileCheck --check-prefix=INVALID-SYM-NAME %s
+
----------------
-symbols -> --symbols
================
Comment at: test/Object/invalid.test:469
+
+## Check that llvm-readobj reports an error when .dynamic section has invalid size,
+## which isn't a multiple of the dynamic entry size.
----------------
has an invalid size
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63927/new/
https://reviews.llvm.org/D63927
More information about the llvm-commits
mailing list