aboutsummaryrefslogtreecommitdiff
path: root/src/entity.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-11-04 12:40:50 +0000
committergingerBill <bill@gingerbill.org>2021-11-04 12:40:50 +0000
commit6ded538546cca4f1e50a011a64932f7f3c784cc2 (patch)
tree03ac73c9042cc45ab20da51a93de3f9bf6f8de0f /src/entity.cpp
parent3fa7dabaa87e99386e469bd5e4badab23f89aaef (diff)
`@(linkage=<string>)` for procedures and variables; `@(require)` for procedures; `package runtime` linkage improvements; Subsequence improvements to `lb_run_remove_unused_function_pass`
Diffstat (limited to 'src/entity.cpp')
-rw-r--r--src/entity.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/entity.cpp b/src/entity.cpp
index d95c74f22..ef4f7e0fa 100644
--- a/src/entity.cpp
+++ b/src/entity.cpp
@@ -76,6 +76,12 @@ enum EntityFlag : u64 {
EntityFlag_Init = 1ull<<31,
EntityFlag_CustomLinkName = 1ull<<40,
+ EntityFlag_CustomLinkage_Internal = 1ull<<41,
+ EntityFlag_CustomLinkage_Strong = 1ull<<42,
+ EntityFlag_CustomLinkage_Weak = 1ull<<43,
+ EntityFlag_CustomLinkage_LinkOnce = 1ull<<44,
+
+ EntityFlag_Require = 1ull<<50,
EntityFlag_Overridden = 1ull<<63,
};