mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
7a045d0c0d
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`.
22 lines
436 B
C++
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
|