@@ -16,6 +16,32 @@ pub(super) const UNKNOWN_LINE_NUMBER: u32 = 0;
1616pub ( super ) const UNKNOWN_COLUMN_NUMBER : u32 = 0 ;
1717
1818impl < ' a , ' gcc , ' tcx > DebugInfoBuilderMethods < ' tcx > for Builder < ' a , ' gcc , ' tcx > {
19+ fn dbg_scope_fn (
20+ & self ,
21+ _instance : Instance < ' tcx > ,
22+ _fn_abi : & FnAbi < ' tcx , Ty < ' tcx > > ,
23+ _maybe_definition_llfn : Option < Function < ' gcc > > ,
24+ ) -> Self :: DIScope {
25+ // FIXME(antoyo): implement.
26+ }
27+
28+ fn dbg_create_lexical_block (
29+ & self ,
30+ _pos : BytePos ,
31+ _parent_scope : Self :: DIScope ,
32+ ) -> Self :: DIScope {
33+ }
34+
35+ fn create_dbg_var (
36+ & self ,
37+ _variable_name : Symbol ,
38+ _variable_type : Ty < ' tcx > ,
39+ _scope_metadata : Self :: DIScope ,
40+ _variable_kind : VariableKind ,
41+ _span : Span ,
42+ ) -> Self :: DIVariable {
43+ }
44+
1945 // FIXME(eddyb) find a common convention for all of the debuginfo-related
2046 // names (choose between `dbg`, `debug`, `debuginfo`, `debug_info` etc.).
2147 fn dbg_var_addr (
@@ -119,13 +145,6 @@ impl<'gcc, 'tcx> DebugInfoCodegenMethods<'tcx> for CodegenCx<'gcc, 'tcx> {
119145 // FIXME(antoyo)
120146 }
121147
122- fn dbg_create_lexical_block (
123- & self ,
124- _pos : BytePos ,
125- _parent_scope : Self :: DIScope ,
126- ) -> Self :: DIScope {
127- }
128-
129148 fn dbg_location_clone_with_discriminator (
130149 & self ,
131150 loc : Self :: DILocation ,
@@ -142,25 +161,6 @@ impl<'gcc, 'tcx> DebugInfoCodegenMethods<'tcx> for CodegenCx<'gcc, 'tcx> {
142161 // FIXME(antoyo): implement.
143162 }
144163
145- fn create_dbg_var (
146- & self ,
147- _variable_name : Symbol ,
148- _variable_type : Ty < ' tcx > ,
149- _scope_metadata : Self :: DIScope ,
150- _variable_kind : VariableKind ,
151- _span : Span ,
152- ) -> Self :: DIVariable {
153- }
154-
155- fn dbg_scope_fn (
156- & self ,
157- _instance : Instance < ' tcx > ,
158- _fn_abi : & FnAbi < ' tcx , Ty < ' tcx > > ,
159- _maybe_definition_llfn : Option < Function < ' gcc > > ,
160- ) -> Self :: DIScope {
161- // FIXME(antoyo): implement.
162- }
163-
164164 fn dbg_loc (
165165 & self ,
166166 _scope : Self :: DIScope ,
0 commit comments