about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/debuginfo
diff options
context:
space:
mode:
authorklensy <klensy@users.noreply.github.com>2023-04-02 17:52:38 +0300
committerklensy <klensy@users.noreply.github.com>2023-04-04 15:12:35 +0300
commitc53a9faa6fdcdf8776646e837272ea0a85bf8179 (patch)
tree7e59c4b1bf5cb26a8379e63311a7804e54e3f9ff /compiler/rustc_codegen_llvm/src/debuginfo
parent7d6181e4d8e25d83d2fe6b868a313ff9942466cc (diff)
downloadrust-c53a9faa6fdcdf8776646e837272ea0a85bf8179.tar.gz
rust-c53a9faa6fdcdf8776646e837272ea0a85bf8179.zip
replace LLVMRustMetadataAsValue with LLVMMetadataAsValue
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/debuginfo')
-rw-r--r--compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs b/compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs
index e2a592d851a..78197ca8529 100644
--- a/compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs
+++ b/compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs
@@ -882,7 +882,7 @@ pub fn build_compile_unit_di_node<'ll, 'tcx>(
 
         if tcx.sess.opts.unstable_opts.profile {
             let cu_desc_metadata =
-                llvm::LLVMRustMetadataAsValue(debug_context.llcontext, unit_metadata);
+                llvm::LLVMMetadataAsValue(debug_context.llcontext, unit_metadata);
             let default_gcda_path = &output_filenames.with_extension("gcda");
             let gcda_path =
                 tcx.sess.opts.unstable_opts.profile_emit.as_ref().unwrap_or(default_gcda_path);