LLVM 19.0.0git
Variables
FunctionImportUtils.cpp File Reference
#include "llvm/Transforms/Utils/FunctionImportUtils.h"
#include "llvm/Support/CommandLine.h"

Go to the source code of this file.

Variables

static cl::opt< boolUseSourceFilenameForPromotedLocals ("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.
 

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.")) ( "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.