diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-10-12 12:10:22 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-12 12:10:22 -0400 |
| commit | bd3a633e4d709e462f9435f94f9c6868980f7089 (patch) | |
| tree | f0a17fc830c18031ed668c9284fd965199d49941 /src/codegen.cpp | |
| parent | ce56ae8afe1fd00cc137375332014b8d8a8ef960 (diff) | |
| parent | f77b0b90d8daedf30e86ab09d292158e0b9af353 (diff) | |
| download | zig-bd3a633e4d709e462f9435f94f9c6868980f7089.tar.gz zig-bd3a633e4d709e462f9435f94f9c6868980f7089.zip | |
Merge pull request #3441 from LemonBoy/llvm10
LLVM 10
Diffstat (limited to 'src/codegen.cpp')
| -rw-r--r-- | src/codegen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp index 5d1f2b8bf9..9f32e3dd35 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -5256,7 +5256,7 @@ static LLVMValueRef get_frame_address_fn_val(CodeGen *g) { LLVMTypeRef fn_type = LLVMFunctionType(get_llvm_type(g, return_type), &g->builtin_types.entry_i32->llvm_type, 1, false); - g->frame_address_fn_val = LLVMAddFunction(g->module, "llvm.frameaddress", fn_type); + g->frame_address_fn_val = LLVMAddFunction(g->module, "llvm.frameaddress.p0i8", fn_type); assert(LLVMGetIntrinsicID(g->frame_address_fn_val)); return g->frame_address_fn_val; |
