mirror of
https://github.com/JakeHillion/drgn.git
synced 2024-12-22 09:13:06 +00:00
libdrgn: dwarf_info: get byte order from passed file in drgn_eval_cfi_dwarf_expression()
Commit 18b12a5c7b
("libdrgn: get .eh_frame from the correct file")
missed this, but it's unlikely to matter in practice.
Signed-off-by: Omar Sandoval <osandov@osandov.com>
This commit is contained in:
parent
4ea46bf283
commit
0bcef5b77f
@ -8026,8 +8026,7 @@ drgn_eval_cfi_dwarf_expression(struct drgn_program *prog,
|
||||
stack.data[stack.size - 1], size,
|
||||
false);
|
||||
} else {
|
||||
copy_lsbytes(buf, size,
|
||||
drgn_elf_file_is_little_endian(regs->module->debug_file),
|
||||
copy_lsbytes(buf, size, drgn_elf_file_is_little_endian(file),
|
||||
&stack.data[stack.size - 1], sizeof(uint64_t),
|
||||
HOST_LITTLE_ENDIAN);
|
||||
err = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user