link_prefix; thread_local; fix link_name for file-scope variables

This commit is contained in:
gingerBill
2017-11-03 23:11:06 +00:00
parent fcc8b89e6b
commit 0b29e42adb
6 changed files with 135 additions and 31 deletions

View File

@@ -90,6 +90,7 @@ struct Entity {
Entity * foreign_library;
AstNode * foreign_library_ident;
String link_name;
String link_prefix;
} Variable;
struct {
bool is_type_alias;
@@ -98,6 +99,7 @@ struct Entity {
struct {
OverloadKind overload_kind;
String link_name;
String link_prefix;
u64 tags;
bool is_export;
bool is_foreign;