[PATCH] D31208: Print out "suppoted targets" and "supported emulations".

Ed Maste via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 21 17:14:29 PDT 2017


emaste added inline comments.


================
Comment at: lld/ELF/DriverUtils.cpp:130-133
+         << "elf32-i386 elf32-iamcu elf32-littlearm elf32-powerpc "
+         << "elf32-tradbigmips elf32-tradlittlemips elf32-x86-64 "
+         << "elf64-littleaarch64 elf64-powerpc elf64-tradbigmips "
+         << "elf64-tradlittlemips elf64-x86-64\n";
----------------
Is there some way we can ensure this list stays in sync with the ones LLD accepts? I think it would be too easy to forget to update this when adding a new target / emulation.


https://reviews.llvm.org/D31208





More information about the llvm-commits mailing list