Files
revng-revng/lib/TargetFunctionOption/TargetFunctionOption.cpp
T
Pietro Fezzardi b59c239401 Decompiler: make all command line options Optional
This means that they can be specified only once on the command line.
If they are specified more than once, the program fails with an
informative error.
2021-02-02 11:23:53 +01:00

18 lines
628 B
C++

/// \file TargetFunction.cpp
/// \brief File which defines an option later used by the `CDecompilerPass` and
/// by the `RestructureCFGPass`
//
// Copyright rev.ng Srls. See LICENSE.md for details.
//
#include "revng-c/TargetFunctionOption/TargetFunctionOption.h"
using namespace llvm;
cl::opt<std::string> TargetFunction("single-decompilation",
cl::desc("Name of the function to "
"decompile"),
cl::value_desc("function name"),
cl::NumOccurrencesFlag::Optional);