mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
b59c239401
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.
18 lines
628 B
C++
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);
|