Skip to content

Commit eaa4f73

Browse files
Lambdariszhuyunxing
authored andcommitted
coverage. Add unimplemented mcdc functions for gcc codegen
1 parent d72e711 commit eaa4f73

File tree

1 file changed

+36
-1
lines changed

1 file changed

+36
-1
lines changed

compiler/rustc_codegen_gcc/src/builder.rs

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ use rustc_middle::ty::layout::{
2525
FnAbiError, FnAbiOfHelpers, FnAbiRequest, HasParamEnv, HasTyCtxt, LayoutError, LayoutOfHelpers,
2626
TyAndLayout,
2727
};
28-
use rustc_middle::ty::{ParamEnv, Ty, TyCtxt, Instance};
28+
use rustc_middle::ty::{Instance, ParamEnv, Ty, TyCtxt};
2929
use rustc_span::def_id::DefId;
3030
use rustc_span::Span;
3131
use rustc_target::abi::{
@@ -1736,6 +1736,41 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> {
17361736
) {
17371737
unimplemented!();
17381738
}
1739+
1740+
fn mcdc_parameters(
1741+
&mut self,
1742+
_fn_name: Self::Value,
1743+
_hash: Self::Value,
1744+
_bitmap_bytes: Self::Value,
1745+
) -> Self::Value {
1746+
unimplemented!();
1747+
}
1748+
1749+
fn mcdc_tvbitmap_update(
1750+
&mut self,
1751+
_fn_name: Self::Value,
1752+
_hash: Self::Value,
1753+
_bitmap_bytes: Self::Value,
1754+
_bitmap_index: Self::Value,
1755+
_mcdc_temp: Self::Value,
1756+
) {
1757+
unimplemented!();
1758+
}
1759+
1760+
fn mcdc_condbitmap_update(
1761+
&mut self,
1762+
_fn_name: Self::Value,
1763+
_hash: Self::Value,
1764+
_cond_loc: Self::Value,
1765+
_mcdc_temp: Self::Value,
1766+
_bool_value: Self::Value,
1767+
) {
1768+
unimplemented!();
1769+
}
1770+
1771+
fn mcdc_condbitmap_reset(&mut self, _mcdc_temp: Self::Value) {
1772+
unimplemented!();
1773+
}
17391774
}
17401775

17411776
impl<'a, 'gcc, 'tcx> Builder<'a, 'gcc, 'tcx> {

0 commit comments

Comments
 (0)