[PATCH] D35619: [ELF] - Introduce multiclass Eq helper for Options.td

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 20 08:51:16 PDT 2017


ruiu added inline comments.


================
Comment at: ELF/Options.td:203
 
-def o: JoinedOrSeparate<["-"], "o">, MetaVarName<"<path>">,
-  HelpText<"Path to file to write output">;
+defm output: Eq<"output">, HelpText<"Path to file to write output">,
+  MetaVarName<"<path>">;
----------------
I don't think this is correct. If you pass `--output=foo`, it should be interpreted as `-o utput=foo`.


https://reviews.llvm.org/D35619





More information about the llvm-commits mailing list