aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend.cpp
diff options
context:
space:
mode:
authormarcs feh <82233333+marcs-feh@users.noreply.github.com>2024-02-02 21:56:40 -0300
committerGitHub <noreply@github.com>2024-02-02 21:56:40 -0300
commitfc113315f6ccd5d58652e8d2f326ed150e74adf1 (patch)
tree00c4df54de73cb2bf0a344e02e64b7fcb3df3768 /src/llvm_backend.cpp
parentd931bfcf83894b65d6db3bc846110efb400ab4a1 (diff)
parentcec08114fdd9812819c10c66cd10f0a9d63866b2 (diff)
Merge branch 'odin-lang:master' into master
Diffstat (limited to 'src/llvm_backend.cpp')
-rw-r--r--src/llvm_backend.cpp5
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");