#define DEBUG_TYPE "uselistorder"
+static cl::OptionCategory Cat("verify-uselistorder Options");
+
static cl::opt<std::string> InputFilename(cl::Positional,
cl::desc("<input bitcode file>"),
cl::init("-"),
cl::value_desc("filename"));
static cl::opt<bool> SaveTemps("save-temps", cl::desc("Save temp files"),
- cl::init(false));
+ cl::cat(Cat));
static cl::opt<unsigned>
NumShuffles("num-shuffles",
cl::desc("Number of times to shuffle and verify use-lists"),
- cl::init(1));
+ cl::init(1), cl::cat(Cat));
namespace {
// Enable debug stream buffering.
EnableDebugBuffering = true;
+ cl::HideUnrelatedOptions(Cat);
cl::ParseCommandLineOptions(argc, argv,
"llvm tool to verify use-list order\n");