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 0af8b6a commit 190a8baCopy full SHA for 190a8ba
lib/SILOptimizer/IPO/DeadFunctionElimination.cpp
@@ -210,7 +210,7 @@ class DeadFunctionAndGlobalElimination {
210
AliveFunctionsAndTables.insert(global);
211
for (const SILInstruction &initInst : *global) {
212
if (auto *fRef = dyn_cast<FunctionRefInst>(&initInst))
213
- ensureAlive(fRef->getReferencedFunction());
+ ensureAlive(fRef->getReferencedFunction(), "referenced from initializer");
214
}
215
216
0 commit comments