about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2025-01-05 12:29:37 +1100
committerZalathar <Zalathar@users.noreply.github.com>2025-01-05 22:16:25 +1100
commit1b62645418c40b663c1726131837d68fa575f15c (patch)
tree150dcc4384aa67afc000e75c3ff2f29c36085115 /compiler/rustc_codegen_llvm/src/llvm
parente26710610490da43b30e66747c713b382fe62794 (diff)
downloadrust-1b62645418c40b663c1726131837d68fa575f15c.tar.gz
rust-1b62645418c40b663c1726131837d68fa575f15c.zip
Use constants for DWARF opcodes, instead of FFI calls
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm')
-rw-r--r--compiler/rustc_codegen_llvm/src/llvm/ffi.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
index 21be66cb29b..bb324ee682c 100644
--- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
@@ -2177,9 +2177,6 @@ unsafe extern "C" {
         Location: &'a DILocation,
         BD: c_uint,
     ) -> Option<&'a DILocation>;
-    pub fn LLVMRustDIBuilderCreateOpDeref() -> u64;
-    pub fn LLVMRustDIBuilderCreateOpPlusUconst() -> u64;
-    pub fn LLVMRustDIBuilderCreateOpLLVMFragment() -> u64;
 
     pub fn LLVMRustWriteTypeToString(Type: &Type, s: &RustString);
     pub fn LLVMRustWriteValueToString(value_ref: &Value, s: &RustString);