================ @@ -296,9 +296,9 @@ Sections: ## Show that an error is reported if the section header string table name cannot ## be read. # RUN: yaml2obj --docnum=11 %s -o %t11.o -# RUNasda: not obj2yaml %t11.o 2>&1 | FileCheck %s --check-prefix=ERR -DFILE=%t11.o +# RUN: not obj2yaml %t11.o 2>&1 | FileCheck %s --check-prefix=ERR -DFILE=%t11.o -# ERR: Error reading file: [[FILE]]: unable to read section header string table name: a section [index 1] has an invalid sh_name (0x10000) offset which goes past the end of the section name string table +# ERR: Error reading file: [[FILE]]: a section [index 1] has an invalid sh_name (0x10000) offset which goes past the end of the section name string table ---------------- jh7370 wrote:
I actually think the checked-for message is better. Unfortunately, I can't see from my original commit where I intended it to come from, so this is fine. https://github.com/llvm/llvm-project/pull/179668 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
