LLVM 22.0.0git
FunctionImportUtils.cpp File Reference

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.
cl::list< GlobalValue::GUIDMoveSymbolGUID ("thinlto-move-symbols", cl::desc("Move the symbols with the given name. This will delete these symbols " "wherever they are originally defined, and make sure their " "linkage is External where they are imported. It is meant to be " "used with the name of contextual profiling roots."), cl::Hidden)

Variable Documentation

◆ MoveSymbolGUID

cl::list< GlobalValue::GUID > MoveSymbolGUID("thinlto-move-symbols", cl::desc( "Move the symbols with the given name. This will delete these symbols " "wherever they are originally defined, and make sure their " "linkage is External where they are imported. It is meant to be " "used with the name of contextual profiling roots."), cl::Hidden) ( "thinlto-move-symbols" ,
cl::desc( "Move the symbols with the given name. This will delete these symbols " "wherever they are originally defined, and make sure their " "linkage is External where they are imported. It is meant to be " "used with the name of contextual profiling roots.") ,
cl::Hidden  )

◆ 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.