Actually, on the bike ride home I realized that one of your concerns is 
justified:  There is no formatter for the comment field in the disassembly 
output.  A lot of different things can appear here -- this could be an address 
to an instruction in the current function, in a different function, in a 
segment of memory with no symbol at all, and there are a bunch of special 
behaviors like if it's the address of const data string, lldb prints the 
string.  And I mentioned earlier, lldb has assembler hints it can output and 
we've got a low-priority ToDo to expose those hints to the user -- in the 
comment field too.

This is a drag - my patch, as it is written today, is going to write branch 
instructions inside the current function as <+36> regardless of any format 
setting. :/


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D7578

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/



_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to