about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/common.rs
diff options
context:
space:
mode:
authorEduard-Mihai Burtescu <edy.burt@gmail.com>2020-02-10 22:30:51 +0200
committerEduard-Mihai Burtescu <edy.burt@gmail.com>2020-10-21 04:43:57 +0300
commitfa2b381ec83556111a99750bcc7688521d7e8b0d (patch)
tree1eac177420f887852e79f82f457eeea49dfffdfd /compiler/rustc_codegen_llvm/src/common.rs
parent9d57c417fc1bac25b0274a34ae581c2e18a9d44e (diff)
downloadrust-fa2b381ec83556111a99750bcc7688521d7e8b0d.tar.gz
rust-fa2b381ec83556111a99750bcc7688521d7e8b0d.zip
rustc_codegen_llvm: move DISubprogram creation to a dbg_scope_fn method.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/common.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/common.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/common.rs b/compiler/rustc_codegen_llvm/src/common.rs
index 0992410a728..2cd745ec420 100644
--- a/compiler/rustc_codegen_llvm/src/common.rs
+++ b/compiler/rustc_codegen_llvm/src/common.rs
@@ -80,6 +80,7 @@ impl Funclet<'ll> {
 
 impl BackendTypes for CodegenCx<'ll, 'tcx> {
     type Value = &'ll Value;
+    // FIXME(eddyb) replace this with a `Function` "subclass" of `Value`.
     type Function = &'ll Value;
 
     type BasicBlock = &'ll BasicBlock;