about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/debuginfo
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2021-01-14 18:00:29 +0000
committerGitHub <noreply@github.com>2021-01-14 18:00:29 +0000
commit494cb3cc7ccdd8624e2a9cd420807de73810d126 (patch)
tree6464c01dfb8b4360312175b8442b13918a2c0991 /compiler/rustc_codegen_llvm/src/debuginfo
parentc504e89bc79dd023b3875b5d40efe3c6358ea84d (diff)
parent0342fd16ffb146c849f1bb40d42ba1bb7a940b62 (diff)
downloadrust-494cb3cc7ccdd8624e2a9cd420807de73810d126.tar.gz
rust-494cb3cc7ccdd8624e2a9cd420807de73810d126.zip
Rollup merge of #80990 - cuviper:unused-debug-context, r=nagisa
llvm: Remove the unused context from CreateDebugLocation

This went unused in commit 88d874de6395, part of #68965.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/debuginfo')
-rw-r--r--compiler/rustc_codegen_llvm/src/debuginfo/mod.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/debuginfo/mod.rs b/compiler/rustc_codegen_llvm/src/debuginfo/mod.rs
index ccbe7325cc6..955e739b2c1 100644
--- a/compiler/rustc_codegen_llvm/src/debuginfo/mod.rs
+++ b/compiler/rustc_codegen_llvm/src/debuginfo/mod.rs
@@ -552,7 +552,6 @@ impl DebugInfoMethods<'tcx> for CodegenCx<'ll, 'tcx> {
 
         unsafe {
             llvm::LLVMRustDIBuilderCreateDebugLocation(
-                utils::debug_context(self).llcontext,
                 line.unwrap_or(UNKNOWN_LINE_NUMBER),
                 col.unwrap_or(UNKNOWN_COLUMN_NUMBER),
                 scope,