[Lldb-commits] [PATCH] D12556: Use eAddressClassCode for address lookup for opcodes
Jim Ingham via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 4 09:21:51 PDT 2015
jingham added a subscriber: jingham.
jingham added a comment.
If the user says "break set -a <SOME ADDRESS>" I have no problem with our setting the breakpoint there even if we don't think it is a terribly good idea. But if lldb is converting any other specification to an address, it should always move past data in text. The failure modes if you aren't careful about this are really confusing: "Why was the first value in my enum whatever the trap instruction is on your platform..." etc... If allowing the former makes it hard to do the latter, the latter should have priority.
More information about the lldb-commits