Add sanitize_address attribute to all normal packages

This commit is contained in:
gingerBill
2023-09-21 11:13:26 +01:00
parent 735bb147e2
commit 38d2a0ddb9
4 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -858,7 +858,7 @@ gb_internal AstPackage *create_builtin_package(char const *name) {
gbAllocator a = permanent_allocator();
AstPackage *pkg = gb_alloc_item(a, AstPackage);
pkg->name = make_string_c(name);
pkg->kind = Package_Normal;
pkg->kind = Package_Builtin;
pkg->scope = create_scope(nullptr, nullptr);
pkg->scope->flags |= ScopeFlag_Pkg | ScopeFlag_Global | ScopeFlag_Builtin;