Files
Alessandro Di Federico a6cf3fbb83 Centralize computation of llvm::Function names
This commit introduces a function to obtain the name assigned to a
`llvm::Function` associated to a `model::Function`. This simplifies the
codebase but also enables us to introduce an option to produce
human-friendly names for debugging/testing purposes.
2024-06-20 10:24:49 +02:00

14 lines
342 B
C++

/// \file CommonOptions.cpp
//
// This file is distributed under the MIT License. See LICENSE.md for details.
//
#include "revng/Support/CommonOptions.h"
using namespace llvm;
cl::opt<bool> DebugNames("debug-names",
cl::desc("Use friendly names in non-user artifacts"),
cl::init(false));