Daniel Jacobowitz wrote:
I am currently working on the debug_frame info emission in our C/C++
compiler (based on Open64) and I have recently come across optimized
code which I don't know how to handle.
Reposting this question to increasingly unrelated lists is not likely
to help you find an answer :-)
Well, anyway thanks for your response, it is sufficient for me.
FYI, I first asked on the dwarf-dedicated mailing-list and surprisingly
got no reply at all!
It's also unclear to me if I can/should use the
remember_state/restore_state dwarf operators.
Indeed, what is the rule?
There's no rule, just documentation of how they work - if you can run
through the CFI stack machine and get the right results, you could use
them.
OK, thanks for clarifying the situation.
Christophe