[PATCH] D23124: ELF lld: Ignore -EL and -EB options

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 3 10:48:32 PDT 2016


ruiu added a subscriber: ruiu.

================
Comment at: ELF/Options.td:265-267
@@ -264,3 +264,5 @@
 def warn_shared_textrel: F<"warn-shared-textrel">;
 def G: Separate<["-"], "G">;
+def EB : Separate<["-"], "EB">;
+def EL : Separate<["-"], "EL">;
 
----------------
Please sort.

Instead of `Separate`, I think you want to do `F<"EB">` because -EB doesn't take arguments, and -EB and --EB are both valid.


https://reviews.llvm.org/D23124





More information about the llvm-commits mailing list