diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-01-24 11:09:48 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-24 11:09:48 -0800 |
| commit | 15278b7f4b74e659fd968571cb9b96929da3d82c (patch) | |
| tree | 52afdf98a47470a20067188fcd7b6a85dff61675 /src/codegen | |
| parent | 843d91e75d166ac41d7c9b27b86b236f14865e31 (diff) | |
| parent | 0d4b6ac7417d1094ac972981b0241444ce2380ba (diff) | |
| download | zig-15278b7f4b74e659fd968571cb9b96929da3d82c.tar.gz zig-15278b7f4b74e659fd968571cb9b96929da3d82c.zip | |
Merge pull request #7856 from ziglang/lto
add LTO support
Diffstat (limited to 'src/codegen')
| -rw-r--r-- | src/codegen/llvm/bindings.zig | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/codegen/llvm/bindings.zig b/src/codegen/llvm/bindings.zig index 8774260a08..6474957b1c 100644 --- a/src/codegen/llvm/bindings.zig +++ b/src/codegen/llvm/bindings.zig @@ -243,7 +243,13 @@ pub const TargetMachine = opaque { extern fn LLVMDisposeTargetMachine(T: *const TargetMachine) void; pub const emitToFile = LLVMTargetMachineEmitToFile; - extern fn LLVMTargetMachineEmitToFile(*const TargetMachine, M: *const Module, Filename: [*:0]const u8, codegen: CodeGenFileType, ErrorMessage: *[*:0]const u8) LLVMBool; + extern fn LLVMTargetMachineEmitToFile( + *const TargetMachine, + M: *const Module, + Filename: [*:0]const u8, + codegen: CodeGenFileType, + ErrorMessage: *[*:0]const u8, + ) LLVMBool; }; pub const CodeMode = extern enum { |
