You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is one more preparation for mapping symbol optimization. It adds a
separate function that is called when the section to disassemble is changed.
This commit enables tracking per-section state management required for the
next optimization ("RISC-V: Optimized search on mapping symbols").
opcodes/ChangeLog:
* riscv-dis.c (struct riscv_private_data): Add last_section.
(init_riscv_dis_private_data): Initialize last_section.
(init_riscv_dis_private_data_for_section): New function. update
last_section here.
(print_insn_riscv): Track section changes.
0 commit comments