diff options
author | Tristan Gingold | 2014-12-16 08:53:35 +0100 |
---|---|---|
committer | Tristan Gingold | 2014-12-16 08:53:35 +0100 |
commit | 3acfb5bd111360e3b98dadd46ac96980957f4381 (patch) | |
tree | 10ddc41d307b3b232b33112332744c5782413844 /src/ortho/llvm/ortho_llvm.adb | |
parent | 251c9b8a5aeb24d29711c5e600bb09db8bb9c23c (diff) | |
download | ghdl-3acfb5bd111360e3b98dadd46ac96980957f4381.tar.gz ghdl-3acfb5bd111360e3b98dadd46ac96980957f4381.tar.bz2 ghdl-3acfb5bd111360e3b98dadd46ac96980957f4381.zip |
ortho_llvm: add uwtable + nounwind attibutes for functions.
Diffstat (limited to 'src/ortho/llvm/ortho_llvm.adb')
-rw-r--r-- | src/ortho/llvm/ortho_llvm.adb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ortho/llvm/ortho_llvm.adb b/src/ortho/llvm/ortho_llvm.adb index d57976a..8925c26 100644 --- a/src/ortho/llvm/ortho_llvm.adb +++ b/src/ortho/llvm/ortho_llvm.adb @@ -2086,6 +2086,7 @@ package body Ortho_LLVM is end if; if Decl = Null_ValueRef then Decl := AddFunction (Module, Id, Ftype); + AddFunctionAttr (Decl, NoUnwindAttribute + UWTable); end if; Res := (Kind => ON_Subprg_Decl, |