mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-05 09:31:03 +03:00
PGO: Add IR-based PGO.
This commit is contained in:
parent
3ec79179b4
commit
e8e28b33b2
5 changed files with 104 additions and 4 deletions
|
@ -431,7 +431,6 @@ void parseCommandLine(int argc, char **argv, Strings &sourceFiles,
|
|||
}
|
||||
#endif
|
||||
|
||||
opts::initializeInstrumentationOptionsFromCmdline();
|
||||
opts::initializeSanitizerOptionsFromCmdline();
|
||||
|
||||
processVersions(debugArgs, "debug", DebugCondition::setGlobalLevel,
|
||||
|
@ -1067,6 +1066,8 @@ int cppmain(int argc, char **argv) {
|
|||
global.lib_ext = "a";
|
||||
}
|
||||
|
||||
opts::initializeInstrumentationOptionsFromCmdline();
|
||||
|
||||
Strings libmodules;
|
||||
return mars_mainBody(files, libmodules);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue