Merge pull request #1214 from Shishpan/old38Fix

A small vital addition for r252219.
This commit is contained in:
Dmitry Babokin
2016-06-17 17:04:42 +03:00
committed by GitHub

View File

@@ -425,6 +425,7 @@ FunctionEmitContext::FunctionEmitContext(Function *func, Symbol *funSym,
isStatic, true, /* is defn */
firstLine, flags,
isOptimized);
llvmFunction->setSubprogram(diSubprogram);
#endif
/* And start a scope representing the initial function scope */