We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec2db33 commit caf73e5Copy full SHA for caf73e5
llvm/lib/Transforms/IPO/FunctionImport.cpp
@@ -1699,7 +1699,7 @@ Expected<bool> FunctionImporter::importFunctions(
1699
LLVM_DEBUG(dbgs() << "Is importing aliasee fn " << GO->getGUID() << " "
1700
<< GO->getName() << " from "
1701
<< SrcModule->getSourceFileName() << "\n");
1702
- if (EnableImportMetadata) {
+ if (EnableImportMetadata || EnableMemProfContextDisambiguation) {
1703
// Add 'thinlto_src_module' and 'thinlto_src_file' metadata for
1704
// statistics and debugging.
1705
Fn->setMetadata(
0 commit comments