[PATCH] D39538: [llvm-ar] Support an options string that start with a dash

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 2 10:39:38 PDT 2017


ruiu added a comment.

Why don't you just strip the leading dash? I think the first argument is always flags (e.g. `ar somesome.a` doesn't make sense), so we could always handle `ar -something` as if `ar something`.


https://reviews.llvm.org/D39538





More information about the llvm-commits mailing list