[PATCH] Defining a new API for debug options that doesn't rely on static global cl::opts.

Chris Bieneman beanz at apple.com
Wed Oct 1 13:58:57 PDT 2014


These patches include updates based on Chandler's feedback:

* Now there are no changes to CommandLine.h
* Options.h and Options.cpp have minor code cleanup and style adjustments
* OptionRegistry no longer supports removing options. This support wasn't really used anyways.
* Formatting fixup in Scalarizer.cpp

http://reviews.llvm.org/D5389

Files:
  include/llvm/IR/LLVMContext.h
  include/llvm/PassSupport.h
  include/llvm/Support/Options.h
  lib/Support/CMakeLists.txt
  lib/Support/CommandLine.cpp
  lib/Support/Options.cpp
  lib/Transforms/Scalar/Scalarizer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5389.14293.patch
Type: text/x-patch
Size: 8119 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141001/027dc81b/attachment.bin>


More information about the llvm-commits mailing list