Files
revng-revng/include/revng/Support/CommandLine.h
T
Alessandro Di Federico 7a045d0c0d Drop revamb-dump in favor of plain passes
This commit does the following:

* It drops `revamb-dump` and transforms all the passes it featured in
  passes that can be used directly from `opt`.
* It rename `revamb` to `revng-lift`.
* It introduces a script called `revng` which acts as a driver for the
  whole rev.ng project. It replaces `translate`, `revcc`,
  `csv-to-ld-options` and `revamb-dump`, since it offers an `opt`
  subcommand which allows to easily invoke all the analysis passes.
* It makes the project a CMake package that can be easily used
  externally.
* It allows to easily create libraries of analysis to use through
  `revng-opt`.
2019-01-18 15:18:47 +01:00

22 lines
436 B
C++

#ifndef COMMANDLINE_H
#define COMMANDLINE_H
//
// This file is distributed under the MIT License. See LICENSE.md for details.
//
// Standard includes
#include <iosfwd>
// LLVM includes
#include "llvm/Support/CommandLine.h"
extern llvm::cl::OptionCategory MainCategory;
// Popular option
extern llvm::cl::opt<bool> UseDebugSymbols;
std::ostream &pathToStream(const std::string &Path, std::ofstream &File);
#endif // COMMANDLINE_H