mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
remove debug logs
This commit is contained in:
parent
d93902cd18
commit
27aaaf9c26
1 changed files with 0 additions and 9 deletions
|
@ -1164,8 +1164,6 @@ fn write_image_base_relocation(
|
|||
// extra space that we'll use for the new relocations
|
||||
let shift_amount = relocations.len() * ENTRY_WIDTH;
|
||||
|
||||
crate::dbg_hex!(new_block_va, relocations);
|
||||
|
||||
if block_has_relocation {
|
||||
// now, starting from the back, shift sections that need to be shifted and add the
|
||||
// new relocations to the right block
|
||||
|
@ -1231,8 +1229,6 @@ fn write_image_base_relocation(
|
|||
// sort by VA. Upper 4 bits store the relocation type
|
||||
entries.sort_unstable_by_key(|x| x & 0b0000_1111_1111_1111);
|
||||
|
||||
crate::dbg_hex!((next_block_start as usize + size_of_block) - reloc_section_start);
|
||||
|
||||
size_of_block
|
||||
}
|
||||
}
|
||||
|
@ -1254,11 +1250,6 @@ fn relocate_dummy_dll_entries(executable: &mut [u8], md: &PeMetadata) {
|
|||
.map(|i| (thunks_offset_in_block as usize + 2 * i) as u16)
|
||||
.collect();
|
||||
|
||||
crate::dbg_hex!(
|
||||
thunks_relocation_block_va,
|
||||
md.rdata_virtual_address - md.image_base as u32,
|
||||
);
|
||||
|
||||
let added_reloc_bytes = write_image_base_relocation(
|
||||
executable,
|
||||
md.reloc_offset_in_file,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue