File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
src/librustc_trans/debuginfo Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -811,14 +811,10 @@ pub fn compile_unit_metadata(scc: &SharedCrateContext,
811
811
unit_metadata) ;
812
812
813
813
let gcov_cu_info = [
814
- // Ideally we would be using the three-element form of !llvm.gcov metadata,
815
- // which allows us to specify gcno/gcda files explicitly, but that's only
816
- // available in LLVM 3.9+; so we rely on LLVM chopping off the extension
817
- // and replacing it with gcno/gcda, instead.
818
814
path_to_mdstring ( debug_context. llcontext ,
819
815
& scc. output_filenames ( ) . with_extension ( "gcno" ) ) ,
820
- // path_to_mdstring(debug_context.llcontext,
821
- // &scc.output_filenames().with_extension("gcda")),
816
+ path_to_mdstring ( debug_context. llcontext ,
817
+ & scc. output_filenames ( ) . with_extension ( "gcda" ) ) ,
822
818
cu_desc_metadata,
823
819
] ;
824
820
let gcov_metadata = llvm:: LLVMMDNodeInContext ( debug_context. llcontext ,
You can’t perform that action at this time.
0 commit comments