Correct linkage for entry point procedures on Windows

This commit is contained in:
gingerBill
2022-01-12 20:07:17 +00:00
parent 5ec93677a0
commit fb0a3ab7c1
3 changed files with 19 additions and 14 deletions
+1 -1
View File
@@ -304,7 +304,7 @@ lbProcedure *lb_create_procedure(lbModule *m, Entity *entity, bool ignore_body)
lbProcedure *lb_create_dummy_procedure(lbModule *m, String link_name, Type *type) {
{
lbValue *found = string_map_get(&m->members, link_name);
GB_ASSERT(found == nullptr);
GB_ASSERT_MSG(found == nullptr, "failed to create dummy procedure for: %.*s", LIT(link_name));
}
lbProcedure *p = gb_alloc_item(permanent_allocator(), lbProcedure);