[PATCH] D13055: [ELF2] Handle -m option

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 07:20:26 PDT 2015


-m should not be mandatory, so you should not need to update every test.

On 22 September 2015 at 08:45, Denis Protivensky
<dprotivensky at accesssoftek.com> wrote:
> denis-protivensky created this revision.
> denis-protivensky added reviewers: Bigcheese, rafael.
> denis-protivensky added a subscriber: llvm-commits.
> denis-protivensky added a project: lld.
>
> Parse and apply emulation given with -m option.
> Check input files to match ELF type and machine architecture provided with -m.
>
> Add positive tests for supported emulations.
> Add negative test with unknown emulation.
> Rework tests with incompatible emulation and input files.
>
> http://reviews.llvm.org/D13055
>
> Files:
>   ELF/Config.h
>   ELF/Driver.cpp
>   ELF/InputFiles.cpp
>   ELF/InputFiles.h
>   ELF/Options.td
>   ELF/SymbolTable.cpp
>   ELF/SymbolTable.h
>   ELF/Writer.cpp
>   test/elf2/archive.s
>   test/elf2/basic.s
>   test/elf2/basic32.s
>   test/elf2/basic32be.s
>   test/elf2/basic64be.s
>   test/elf2/bss.s
>   test/elf2/common.s
>   test/elf2/discard-locals.s
>   test/elf2/dynamic-reloc-index.s
>   test/elf2/dynamic-reloc.s
>   test/elf2/emulation.s
>   test/elf2/got.s
>   test/elf2/incompatible.s
>   test/elf2/invalid-elf.test
>   test/elf2/invalid-relocations.test
>   test/elf2/local-dynamic.s
>   test/elf2/local.s
>   test/elf2/many-sections.s
>   test/elf2/output-section.s
>   test/elf2/plt.s
>   test/elf2/program-header-layout.s
>   test/elf2/relocation-32S-error.s
>   test/elf2/relocation-absolute.s
>   test/elf2/relocation-common.s
>   test/elf2/relocation-errors.s
>   test/elf2/relocation-i686.s
>   test/elf2/relocation-local.s
>   test/elf2/relocation-undefined-weak.s
>   test/elf2/relocation.s
>   test/elf2/resolution.s
>   test/elf2/section-align-0.test
>   test/elf2/shared.s
>   test/elf2/string-table.s
>   test/elf2/symbols.s
>   test/elf2/undef-start.s
>   test/elf2/undef.s
>   test/elf2/visibility.s
>


More information about the llvm-commits mailing list