From 61ac03fc08a05deab3c1fefada9d74f7e3fd737c Mon Sep 17 00:00:00 2001 From: Ilia Filippov Date: Wed, 26 Mar 2014 16:27:47 +0400 Subject: [PATCH] Adding functions' inline attribute when we generate DebugInfo --- module.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/module.cpp b/module.cpp index 0a79e736..d45646fe 100644 --- a/module.cpp +++ b/module.cpp @@ -793,7 +793,6 @@ Module::AddFunctionDeclaration(const std::string &name, // Set function attributes: we never throw exceptions function->setDoesNotThrow(); if (storageClass != SC_EXTERN_C && - !g->generateDebuggingSymbols && isInline) #ifdef LLVM_3_2 function->addFnAttr(llvm::Attributes::AlwaysInline);