Merge pull request #1214 from Shishpan/old38Fix
A small vital addition for r252219.
This commit is contained in:
1
ctx.cpp
1
ctx.cpp
@@ -425,6 +425,7 @@ FunctionEmitContext::FunctionEmitContext(Function *func, Symbol *funSym,
|
|||||||
isStatic, true, /* is defn */
|
isStatic, true, /* is defn */
|
||||||
firstLine, flags,
|
firstLine, flags,
|
||||||
isOptimized);
|
isOptimized);
|
||||||
|
llvmFunction->setSubprogram(diSubprogram);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* And start a scope representing the initial function scope */
|
/* And start a scope representing the initial function scope */
|
||||||
|
|||||||
Reference in New Issue
Block a user