mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-20 05:20:28 +00:00
Add globaldynamic thread_local model (same as the current default)
This commit is contained in:
@@ -2628,6 +2628,8 @@ gb_internal bool lb_apply_thread_local_model(LLVMValueRef value, String model) {
|
||||
LLVMThreadLocalMode mode = LLVMGeneralDynamicTLSModel;
|
||||
if (model == "default") {
|
||||
mode = LLVMGeneralDynamicTLSModel;
|
||||
} else if (model == "globaldynamic") {
|
||||
mode = LLVMGeneralDynamicTLSModel;
|
||||
} else if (model == "localdynamic") {
|
||||
mode = LLVMLocalDynamicTLSModel;
|
||||
} else if (model == "initialexec") {
|
||||
|
||||
Reference in New Issue
Block a user