[PATCH] D92611: [LTO][Legacy] Decouple option parsing from LTOCodeGenerator

wael yehia via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 30 13:54:57 PDT 2021


w2yehia added a comment.

> Is there a problem if both APIs are called (providing they don't conflict with each other or duplicate arguments?)

If you call both APIs, then you run `cl::ParseCommandLineOptions` twice. I haven't tested it, but I'm pretty sure it's not intended to be called twice.


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

https://reviews.llvm.org/D92611



More information about the llvm-commits mailing list