diff options
| author | Trevor Gross <t.gross35@gmail.com> | 2024-08-27 01:46:49 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-27 01:46:49 -0500 |
| commit | 9c26ebe32ed365a7ddb610236a2619ef52960da8 (patch) | |
| tree | 5de04ef014accede6163b39868f28faad02a72f2 /compiler/rustc_codegen_llvm/src/llvm/ffi.rs | |
| parent | bf662eb80838008acabc307dd64d84935ce3a20d (diff) | |
| parent | 6899f5a8e12986ee16e028f1597963d0de668aca (diff) | |
| download | rust-9c26ebe32ed365a7ddb610236a2619ef52960da8.tar.gz rust-9c26ebe32ed365a7ddb610236a2619ef52960da8.zip | |
Rollup merge of #126985 - Mrmaxmeier:dwarf-embed-source, r=davidtwco
Implement `-Z embed-source` (DWARFv5 source code embedding extension) Implement https://github.com/rust-lang/compiler-team/issues/764 MCP which adds an unstable flag that exposes LLVM's [DWARFv5 source code embedding](https://dwarfstd.org/issues/180201.1.html) support.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/ffi.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm/ffi.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs index faabbcb020d..7a495174ff1 100644 --- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs +++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs @@ -1860,6 +1860,8 @@ extern "C" { CSKind: ChecksumKind, Checksum: *const c_char, ChecksumLen: size_t, + Source: *const c_char, + SourceLen: size_t, ) -> &'a DIFile; pub fn LLVMRustDIBuilderCreateSubroutineType<'a>( |
