A small vital addition for r252219.

This commit is contained in:
Andrey Shishpanov
2016-06-17 16:55:27 +03:00
parent aea10892d3
commit cd7806e9c0

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 */