Outliner::getLibSourceFile¶
Obtain the file handle to the separated source file storing outlined functions. In dlopen mode, the outliner leaves this source enabled for unparsing and excludes it from the main program's compile/link step; the caller compiles it separately as a shared library. target is the input code block for outlining. It provides SgProject and input file name info. the lib source file's name convention is rose_input_lib.[c|cxx].
Synopses¶
Declared in <src/midend/programTransformation/astOutlining/Outliner.hh>
Obtain the file handle to the separated source file storing outlined functions. In dlopen mode, the outliner leaves this source enabled for unparsing and excludes it from the main program's compile/link step; the caller compiles it separately as a shared library. target is the input code block for outlining. It provides SgProject and input file name info. the lib source file's name convention is rose_input_lib.[c|cxx].
[[visibility("default")]]
SgSourceFile*
getLibSourceFile(SgBasicBlock* target); [[visibility("default")]]
SgSourceFile*
getLibSourceFile(
SgBasicBlock* target,
std::vector<SgFunctionDeclaration*> const& definitionsToMove); Created with MrDocs