From 3d24265d501384fcbf8ecfd189aeb4fe4757b887 Mon Sep 17 00:00:00 2001 From: Dmitry Babokin Date: Fri, 24 May 2013 10:28:06 +0400 Subject: [PATCH] Adding missing attributes on exported functions --- func.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/func.cpp b/func.cpp index 59e05526..51305fd7 100644 --- a/func.cpp +++ b/func.cpp @@ -459,6 +459,8 @@ Function::GenerateIR() { appFunction->setDoesNotThrow(); #endif + g->target->markFuncWithTargetAttr(appFunction); + if (appFunction->getName() != functionName) { // this was a redefinition for which we already emitted an // error, so don't worry about this one...