aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend.hpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-05-11 13:30:27 +0100
committergingerBill <bill@gingerbill.org>2021-05-11 13:30:27 +0100
commitd353f97f91c18fd910c4c16604dcaf3e3afbc5f2 (patch)
treeb0b47a9b49405cd69a888694eba66c0ec1d5afde /src/llvm_backend.hpp
parent8144e82c6c1ffa3406ed8bcd87c15096d6ab4538 (diff)
Add `byval` with `align`, `sret` attributes for SysV
Diffstat (limited to 'src/llvm_backend.hpp')
-rw-r--r--src/llvm_backend.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/llvm_backend.hpp b/src/llvm_backend.hpp
index f212d9fc0..b35c042ee 100644
--- a/src/llvm_backend.hpp
+++ b/src/llvm_backend.hpp
@@ -276,6 +276,7 @@ String lb_mangle_name(lbModule *m, Entity *e);
String lb_get_entity_name(lbModule *m, Entity *e, String name = {});
LLVMAttributeRef lb_create_enum_attribute(LLVMContextRef ctx, char const *name, u64 value=0);
+LLVMAttributeRef lb_create_enum_attribute_with_type(LLVMContextRef ctx, char const *name, LLVMTypeRef type);
void lb_add_proc_attribute_at_index(lbProcedure *p, isize index, char const *name, u64 value);
void lb_add_proc_attribute_at_index(lbProcedure *p, isize index, char const *name);
lbProcedure *lb_create_procedure(lbModule *module, Entity *entity, bool ignore_body=false);