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)
commitc14fb896803930ccf22d3ae6af0a013575b3b5c0
tree2b889e361d06f1c8c39c19e070a01aa660117780
parentd3fc10a52532a8da060f8d00a9c545e0a6ce156e
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219854 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/LLVMContext.h
include/llvm/PassSupport.h
include/llvm/Support/Options.h [new file with mode: 0644]
lib/Support/CMakeLists.txt
lib/Support/CommandLine.cpp
lib/Support/Options.cpp [new file with mode: 0644]
lib/Transforms/Scalar/Scalarizer.cpp