llvm-project/llvm/test/tools/llvm-dlltool
Martin Storsjö ca56b33daf [llvm-dlltool] Imply the target arch from a tool triple prefix
Also use the default LLVM target as default for dlltool. This
matches how GNU dlltool behaves; it is compiled with one default
target, which is used if no option is provided.

Extend the anonymous namespace in the implementation file instead
of using static functions.

Based on a patch by Mateusz Mikuła.

The effect of the default LLVM target, if neither the -m option
nor a tool triple prefix is provided, isn't tested, as we can't
make assumptions about what it is set to.

(We could make the default be forced to one of the four supported
architectures if the default triple is another arch, and then just
test that llvm-dlltool without an -m option is able to produce an
import library, without checking the actual architecture though.)

Differential Revision: https://reviews.llvm.org/D104212
2021-06-17 13:02:35 +03:00
..
coff-decorated.def
coff-exports.def [llvm-dlltool] [test] Remove superfluous --coff-exports option to llvm-readobj. NFC. 2021-06-17 13:02:34 +03:00
coff-noname.def [llvm-dlltool] [test] Test both short and long forms of options. NFC. 2021-06-17 13:02:34 +03:00
coff-weak-exports.def
lit.local.cfg
machine-opt.def [llvm-dlltool] [test] Add a testcase for all machine option types. NFC. 2021-06-17 13:02:35 +03:00
tool-name.test
triple-prefix.def [llvm-dlltool] Imply the target arch from a tool triple prefix 2021-06-17 13:02:35 +03:00