Merge pull request #504 from dbabokin/attr
Adding missing attributes on exported functions
This commit is contained in:
2
func.cpp
2
func.cpp
@@ -459,6 +459,8 @@ Function::GenerateIR() {
|
|||||||
appFunction->setDoesNotThrow();
|
appFunction->setDoesNotThrow();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
g->target->markFuncWithTargetAttr(appFunction);
|
||||||
|
|
||||||
if (appFunction->getName() != functionName) {
|
if (appFunction->getName() != functionName) {
|
||||||
// this was a redefinition for which we already emitted an
|
// this was a redefinition for which we already emitted an
|
||||||
// error, so don't worry about this one...
|
// error, so don't worry about this one...
|
||||||
|
|||||||
Reference in New Issue
Block a user