Defining a new API for debug options that doesn't rely on static global cl::opts.
authorChris Bieneman <beanz@apple.com>
Wed, 15 Oct 2014 21:54:35 +0000 (21:54 +0000)
committerChris Bieneman <beanz@apple.com>
Wed, 15 Oct 2014 21:54:35 +0000 (21:54 +0000)
commit732e0aa9fb84f1d89e8fa9233f814415cc45a637
treee00e4701ee328fb676addf55b17ee53bcb4b6681
parentde4de39c9d5f902c421e562d8b72af7361ace53d
Defining a new API for debug options that doesn't rely on static global cl::opts.

Summary:
This is based on the discussions from the LLVMDev thread:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-August/075886.html

Reviewers: chandlerc

Reviewed By: chandlerc

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D5389

llvm-svn: 219854
llvm/include/llvm/IR/LLVMContext.h
llvm/include/llvm/PassSupport.h
llvm/include/llvm/Support/Options.h [new file with mode: 0644]
llvm/lib/Support/CMakeLists.txt
llvm/lib/Support/CommandLine.cpp
llvm/lib/Support/Options.cpp [new file with mode: 0644]
llvm/lib/Transforms/Scalar/Scalarizer.cpp