diff options
| author | David Wood <david@davidtw.co> | 2020-09-23 16:25:20 +0100 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2020-12-16 10:31:42 +0000 |
| commit | 341aa97adb20ca22e0fcb0851014bfa2297ff932 (patch) | |
| tree | feede76df0527ae11d6b22fafe3932f8158a5a20 /compiler/rustc_codegen_llvm/src/asm.rs | |
| parent | ddbc6176de780987025c2cf22eb63922bc0c6253 (diff) | |
| download | rust-341aa97adb20ca22e0fcb0851014bfa2297ff932.tar.gz rust-341aa97adb20ca22e0fcb0851014bfa2297ff932.zip | |
llvm: update ffi bindings for split dwarf
This commit modifies the FFI bindings to LLVM required for Split DWARF support in rustc. In particular: - `addPassesToEmitFile`'s wrapper, `LLVMRustWriteOutputFile` now takes a `DwoPath` `const char*`. When disabled, `nullptr` should be provided which will preserve existing behaviour. When enabled, the path to the `.dwo` file should be provided. - `createCompileUnit`'s wrapper, `LLVMRustDIBuilderCreateCompileUnit` now has two additional arguments, for the `DWOId` and to enable `SplitDebugInlining`. `DWOId` should always be zero. - `createTargetMachine`'s wrapper, `LLVMRustCreateTargetMachine` has an additional argument which should be provided the path to the `.dwo` when enabled. Signed-off-by: David Wood <david@davidtw.co>
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/asm.rs')
0 files changed, 0 insertions, 0 deletions
