LLVM  17.0.0git
Variables
FunctionImportUtils.cpp File Reference
#include "llvm/Transforms/Utils/FunctionImportUtils.h"
#include "llvm/Support/CommandLine.h"
Include dependency graph for FunctionImportUtils.cpp:

Go to the source code of this file.

Variables

static cl::opt< bool > UseSourceFilenameForPromotedLocals ("use-source-filename-for-promoted-locals", cl::Hidden, cl::desc("Uses the source file name instead of the Module hash. " "This requires that the source filename has a unique name / " "path to avoid name collisions."))
 Uses the "source_filename" instead of a Module hash ID for the suffix of promoted locals during LTO. More...
 

Variable Documentation

◆ UseSourceFilenameForPromotedLocals

cl::opt<bool> UseSourceFilenameForPromotedLocals("use-source-filename-for-promoted-locals", cl::Hidden, cl::desc("Uses the source file name instead of the Module hash. " "This requires that the source filename has a unique name / " "path to avoid name collisions."))
static

Uses the "source_filename" instead of a Module hash ID for the suffix of promoted locals during LTO.

NOTE: This requires that the source filename has a unique name / path to avoid name collisions.