[PATCH] D27770: [ELF][MIPS] Allow .MIPS.abiflags larger than one Elf_Mips_ABIFlags struct

Simon Atanasyan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 15 02:18:48 PST 2016


atanasyan added a comment.

In https://reviews.llvm.org/D27770#622659, @arichardson wrote:

> I'm not sure how to add a testcase for this. I guess somehow define the .MIPS.abiflags section in the .s file?


In case of testing an "invalid input", you can put an object file into the `test/ELF/Inputs` folder and use this file in the test case. Take a look at the `test/ELF/bad-archive.s` for example.


https://reviews.llvm.org/D27770





More information about the llvm-commits mailing list