Compare commits

..

1 Commits

Author SHA1 Message Date
4a93d5d3d4 Indirect
All checks were successful
CI / ci (RelWithDebInfo, ubuntu-latest) (pull_request) Successful in 1m41s
CI / ci (MinSizeRel, ubuntu-latest) (pull_request) Successful in 1m43s
CI / ci (Release, ubuntu-latest) (pull_request) Successful in 1m25s
CI / ci (Debug, ubuntu-latest) (pull_request) Successful in 8m34s
CI / ci (Release, ubuntu-latest) (push) Successful in 1m43s
CI / ci (MinSizeRel, ubuntu-latest) (push) Successful in 1m48s
CI / ci (RelWithDebInfo, ubuntu-latest) (push) Successful in 1m46s
CI / ci (Debug, ubuntu-latest) (push) Successful in 8m17s
2025-06-13 09:20:14 -06:00

View File

@ -5704,11 +5704,10 @@ fn LLVMValueRef emit_call(Module* module, Value* value, LLVMValueRef left_llvm,
bool is_constant = true; bool is_constant = true;
LLVMLinkage linkage_type = LLVMInternalLinkage; LLVMLinkage linkage_type = LLVMInternalLinkage;
LLVMThreadLocalMode thread_local_mode = {}; LLVMThreadLocalMode thread_local_mode = {};
u32 address_space = 0;
bool externally_initialized = false; bool externally_initialized = false;
auto alignment = get_byte_alignment(semantic_argument_type); auto alignment = get_byte_alignment(semantic_argument_type);
auto global = llvm_module_create_global_variable(module->llvm.module, semantic_argument_type->llvm.memory, is_constant, linkage_type, semantic_call_argument_value->llvm, string_literal("conststruct"), thread_local_mode, externally_initialized, alignment, LLVMGlobalUnnamedAddr); auto global = llvm_module_create_global_variable(module->llvm.module, semantic_argument_type->llvm.memory, is_constant, linkage_type, semantic_call_argument_value->llvm, string_literal("indirect.const.aggregate"), thread_local_mode, externally_initialized, alignment, LLVMGlobalUnnamedAddr);
llvm_abi_argument_value_buffer[abi_argument_count] = global; llvm_abi_argument_value_buffer[abi_argument_count] = global;
abi_argument_count += 1; abi_argument_count += 1;