[PATCH] D150568: OptTable: stop parsing options after "--" alone.

Tim Northover via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 25 05:49:05 PDT 2023


t.p.northover added a comment.

Sorry about this, but I hadn't realised Clang itself used this library until you mentioned the behaviour there. And that led me to test failures with `clang-linker-wrapper` (already does something similar, but really weirdly) and `clang-scan-deps`. And it turns out this faciliy already pretty much exists but is setup in the option table.

I'd kind of prefer opt out personally (it's a niche use-case, but you'd probably want it more than not when it comes up). But being able to control it is definitely better than my original patch so I rewrote it to only affect llvm-nm after all.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150568/new/

https://reviews.llvm.org/D150568



More information about the llvm-commits mailing list