Displaying 1 result from an estimated 1 matches for "sampleprofilefile".
2017 Oct 03
2
New Pass Manager with flto[=thin] not enabled (??)
...,
cl::init(false), cl::Hidden);
...
Conf.UseNewPM = UseNewPM;
...
projects/clang/lib/CodeGen/BackendUtil.cpp
...
void clang::EmitBackendOutput( (...) {
...
runThinLTOBackend(CombinedIndex.get(), M, HeaderOpts, CGOpts, TOpts,
LOpts, std::move(OS), CGOpts.SampleProfileFile,
Action);
return;
...
}
static void runThinLTOBackend (...) {
...
Conf.UseNewPM = CGOpts.ExperimentalNewPassManager;
...
}
My team and I were wondering if this is:
intentional,
if so, why do we not have an option to enable the new PM in the link
step
if not, should...