Simply adds the size field to this event.
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Update MIExtensions.txt please
test/tools/lldb-mi/TestMiLibraryLoaded.py | ||
---|---|---|
32 | it may cause false negative on systems where full path to lldb dir contains bad symbols that should be escaped (" or \ etc). I had the same issue in MiSyntaxTestCase. | |
tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp | ||
725 | GetByteSize returns uint32_t/uint64_t therefore you should use PRIu32/64 here |
test/tools/lldb-mi/TestMiLibraryLoaded.py | ||
---|---|---|
32 | Any suggestions for checking the size then? I could make a second test that only checks for the size field? |
test/tools/lldb-mi/TestMiLibraryLoaded.py | ||
---|---|---|
32 | I think u can use an analogue of AddSlashes: >>> def add_slashes(x): return x.replace("\\", "\\\\").replace("\"", "\\\"").replace("\'", "\\\'") ... >>> print "C:\\foo\\bar\\baz\"\'ext" C:\foo\bar\baz"'ext >>> print add_slashes("C:\\foo\\bar\\baz\"\'ext") C:\\foo\\bar\\baz\"\'ext |
it may cause false negative on systems where full path to lldb dir contains bad symbols that should be escaped (" or \ etc). I had the same issue in MiSyntaxTestCase.