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 54cc882 commit 71b5305Copy full SHA for 71b5305
llvm/lib/Transforms/IPO/FunctionImport.cpp
@@ -568,7 +568,11 @@ class WorkloadImportsManager : public ModuleImportsManager {
568
std::map<std::string, std::vector<std::string>> WorkloadDefs;
569
json::Path::Root NullRoot;
570
// The JSON is supposed to contain a dictionary matching the type of
571
- // WorkloadDefs.
+ // WorkloadDefs. For example:
572
+ // {
573
+ // "rootFunction_1": ["function_to_import_1", "function_to_import_2"],
574
+ // "rootFunction_2": ["function_to_import_3", "function_to_import_4"]
575
+ // }
576
auto Parsed = json::parse(Buffer->getBuffer());
577
if (!Parsed)
578
report_fatal_error(Parsed.takeError());
0 commit comments