[PATCH] D71169: [Debug] Convert DebugOnly from cl::opt with a custom type to cl::list NFC
Don Hinton via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 7 12:44:00 PST 2019
hintonda created this revision.
hintonda added reviewers: sunfish, christof, MatzeB, gribozavr, MaskRay, beanz.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
Convert DebugOnly from cl::opt with a custom type to cl::list
with a cl::callback. The callback is needed in order to set DebugFlag
whenever DebugOnly is passed.
Also, add list_storage specialization for ManagedStatic<vector<T>> to
support cl::location for managed statics.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D71169
Files:
llvm/include/llvm/Support/CommandLine.h
llvm/lib/Support/Debug.cpp
llvm/unittests/Support/CommandLineTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71169.232718.patch
Type: text/x-patch
Size: 4125 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191207/97dcfe2c/attachment.bin>
More information about the llvm-commits
mailing list