Re: [Lldb-commits] [PATCH] D11574: Add size field to library load event

2015-08-05 Thread Paul Maybee
paulmaybee added a comment.

ping



Comment at: test/tools/lldb-mi/TestMiLibraryLoaded.py:31
@@ -30,3 +30,3 @@
 
"=library-loaded,id=\"%s\",target-name=\"%s\",host-name=\"%s\",symbols-loaded=\"1\",symbols-path=\"%s\",loaded_addr=\"-\""
 % (path, path, path, symbols_path),
-
"=library-loaded,id=\"%s\",target-name=\"%s\",host-name=\"%s\",symbols-loaded=\"0\",loaded_addr=\"-\""
 % (path, path, path)
+
"=library-loaded,id=\"%s\",target-name=\"%s\",host-name=\"%s\",symbols-loaded=\"0\",loaded_addr=\"-\",size=\"[0-9]+\""
 % (path, path, path)
 ], exactly = True)

ki.stfu wrote:
> As I said in D9716, it will cause a false negative if `path` contains symbols 
> that should be escaped (" or \ etc). I faced with the same issue in 
> MiSyntaxTestCase. You should use analogue of CMIUtilString::AddSlashes here, 
> or pass `exactly = True` option.
exactly = True is there?


Comment at: tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp:731
@@ -730,1 +730,3 @@
 vwrMiOutOfBandRecord.Add(miValueResult6);
+bOk = bOk && vwrMiOutOfBandRecord.Add(miValueResult6);
+

ki.stfu wrote:
> ignore a return code here. It should cause a compiler error since r242911. 
> Have you tried to compile it?
Oops. Sorry, wrong diff. Fixed now.


http://reviews.llvm.org/D11574



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


Re: [Lldb-commits] [PATCH] D11574: Add size field to library load event

2015-08-07 Thread Paul Maybee via lldb-commits
paulmaybee added a comment.

I'm not sure what the misunderstanding is, so I'll rephrase our desire. The VS 
debugger decorates code addresses with the name of the shared library from 
which the code originated (example above).  We wish to use the load address and 
size of the shared library text for the purpose of determining the library 
name. Is there is some other way for us to get the lib name?


http://reviews.llvm.org/D11574



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


Re: [Lldb-commits] [PATCH] D11574: Add size field to library load event

2015-08-10 Thread Paul Maybee via lldb-commits
paulmaybee added a comment.

Can you please check in in for me. Thanks.


http://reviews.llvm.org/D11574



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