[PATCH] D83530: [llvm-symbolizer] Switch command line parsing from llvm::cl to OptTable

Max Moroz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 2 17:28:01 PDT 2020


Dor1s added inline comments.


================
Comment at: llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp:287
+  Opts.UseNativePDBReader = Args.hasArg(OPT_use_native_pdb_reader);
+  Opts.UseSymbolTable = true;
+
----------------
MaskRay wrote:
> rupprecht wrote:
> > This is documented as a flag, why was it removed?
> It was unintentional. I think we may need to add/rename the negative option to --no-use-symbol-table. Some investigation is needed to create a test for it. I think previously it was probably a debug-purpose option, so there is no use-symbol-table=false test.
Please avoid landing changes like this in future. Either do the investigation and make sure everything is fixed (i.e. documentation updated, no compatibility changes), or do not remove stuff silently like this.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D83530



More information about the llvm-commits mailing list