abidh added a comment.

This command uses "target modules lookup" to obtain the information while 
-symbol-list-lines uses "target modules dump line-table". Although there is 
difference in the format of the output of these 2 commands, the format for path 
and line is same. I think we should have one code handling path strings in both 
of these places to avoid duplication.

It would be even better if we have some API which we can use to query this 
data. Then there would be no need for this parsing.


Repository:
  rL LLVM

http://reviews.llvm.org/D12115



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to