Home
last modified time | relevance | path

Searched refs:MainFileName (Results 1 – 3 of 3) sorted by relevance

/external/clang/include/clang/Frontend/
DCodeGenOptions.h149 std::string MainFileName; variable
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp283 std::string MainFileName = CGM.getCodeGenOpts().MainFileName; in CreateCompileUnit() local
284 if (MainFileName.empty()) in CreateCompileUnit()
285 MainFileName = "<unknown>"; in CreateCompileUnit()
295 MainFileName = MainFileDir + "/" + MainFileName; in CreateCompileUnit()
299 char *FilenamePtr = DebugInfoNames.Allocate<char>(MainFileName.length()); in CreateCompileUnit()
300 memcpy(FilenamePtr, MainFileName.c_str(), MainFileName.length()); in CreateCompileUnit()
301 StringRef Filename(FilenamePtr, MainFileName.length()); in CreateCompileUnit()
/external/clang/lib/Frontend/
DCompilerInvocation.cpp221 if (!Opts.MainFileName.empty()) in CodeGenOptsToArgs()
222 Res.push_back("-main-file-name", Opts.MainFileName); in CodeGenOptsToArgs()
1152 Opts.MainFileName = Args.getLastArgValue(OPT_main_file_name); in ParseCodeGenArgs()