diff options
| author | marcs feh <82233333+marcs-feh@users.noreply.github.com> | 2024-02-02 21:56:40 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-02 21:56:40 -0300 |
| commit | fc113315f6ccd5d58652e8d2f326ed150e74adf1 (patch) | |
| tree | 00c4df54de73cb2bf0a344e02e64b7fcb3df3768 /src/llvm_backend.cpp | |
| parent | d931bfcf83894b65d6db3bc846110efb400ab4a1 (diff) | |
| parent | cec08114fdd9812819c10c66cd10f0a9d63866b2 (diff) | |
Merge branch 'odin-lang:master' into master
Diffstat (limited to 'src/llvm_backend.cpp')
| -rw-r--r-- | src/llvm_backend.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/llvm_backend.cpp b/src/llvm_backend.cpp index 003424e0a..c3c4f7152 100644 --- a/src/llvm_backend.cpp +++ b/src/llvm_backend.cpp @@ -1064,6 +1064,11 @@ gb_internal lbProcedure *lb_create_startup_type_info(lbModule *m) { LLVMSetLinkage(p->value, LLVMInternalLinkage); lb_add_attribute_to_proc(m, p->value, "nounwind"); + // lb_add_attribute_to_proc(p->module, p->value, "mustprogress"); + // lb_add_attribute_to_proc(p->module, p->value, "nofree"); + // lb_add_attribute_to_proc(p->module, p->value, "norecurse"); + // lb_add_attribute_to_proc(p->module, p->value, "nosync"); + // lb_add_attribute_to_proc(p->module, p->value, "willreturn"); if (!LB_USE_GIANT_PACKED_STRUCT) { lb_add_attribute_to_proc(m, p->value, "optnone"); lb_add_attribute_to_proc(m, p->value, "noinline"); |