mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
debug relocations
This commit is contained in:
parent
c98d9356ac
commit
8ffc46d9a9
1 changed files with 2 additions and 2 deletions
|
@ -295,14 +295,14 @@ fn create_relocation(target_info: TargetInfo, symbol: SymbolId, offset: u64) ->
|
|||
roc_target::Architecture::X86_64 => (RelocationEncoding::X86Branch, 32),
|
||||
};
|
||||
|
||||
write::Relocation {
|
||||
dbg!(write::Relocation {
|
||||
offset,
|
||||
size,
|
||||
kind: RelocationKind::PltRelative,
|
||||
encoding,
|
||||
symbol,
|
||||
addend: -4,
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
fn build_object<'a, B: Backend<'a>>(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue