Dougall
(replying to Saagar Jha)
@saagar @marcan Yeah, that's how I'd do it. (I worry I've misled you by mentioning x86 – I only meant to imply I had no idea how it worked on ARM.) That said, I can hardly be surprised when a production debugger ends up having to disassemble, and failing weirdly when it can't. Trying to maintain portable APIs across decades of different architectures, with subtly different behaviours (break before or after memory access, provide access address/size/data in exception-info or don't) seems hard.
Saagar Jha
(replying to Dougall)
Saagar Jha
(replying to Saagar Jha)
@marcan @dougall > To match the fault address in the watchpoint list, Jaydeep Patil in 2015 https://reviews.llvm.org/D11672 to recognize load/store instructions and calculate the memory address by decoding them.