From cd7806e9c0bb6506a11f03e113ebea093857c1e0 Mon Sep 17 00:00:00 2001 From: Andrey Shishpanov Date: Fri, 17 Jun 2016 16:55:27 +0300 Subject: [PATCH] A small vital addition for r252219. --- ctx.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ctx.cpp b/ctx.cpp index d0aa9ef2..6f5f002f 100644 --- a/ctx.cpp +++ b/ctx.cpp @@ -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 */