Re: [lldb-dev] UnicodeDecodeError for serialize SBValue description

2016-03-27 Thread Siva Chandra via lldb-dev
On Sat, Mar 26, 2016 at 11:58 PM, Jeffrey Tan wrote: > Btw: after patching with Siva's fix http://reviews.llvm.org/D18008, the > first field 'small_' is fixed, however the second field 'ml_' still emits > garbage: > > (lldb) fr v corpus > (const string &const) corpus = error: summary string parsin

[lldb-dev] LLDB /w Windows and MinGW64

2016-03-27 Thread Eran Ifrah via lldb-dev
Hi, I have built LLDB on Windows 7 using MinGW64/4.9.2 (took some effort to get the job done...) When I tried to debug a simple hello world executable, I get this output: D:\software\msys-for-clang\1.0\home\PC\build-release-64-lldb\bin>lldb.exe HelloWorld.exe (lldb) target create "HelloWorld.exe"

Re: [lldb-dev] UnicodeDecodeError for serialize SBValue description

2016-03-27 Thread Jeffrey Tan via lldb-dev
Thanks Siva. All the *DW_TAG_member *related errors seems to go away after patching with your fix. The current problem is handling the decoding. Here is the correct decoding from gdb whic might be useful: (gdb) p corpus $3 = (const std::string &) @0x7fd133cfb888: { static npos = 1844674407370955

Re: [lldb-dev] [llvm-dev] DW_TAG_member extends beyond the bounds error on Linux

2016-03-27 Thread David Blaikie via lldb-dev
On Sat, Mar 26, 2016 at 11:31 PM, Jeffrey Tan wrote: > Thanks David. I meant to send to lldb maillist, but glad to hear response > here. > > Our binary is built from gcc: > String dump of section '.comment': > [ 1] GCC: (GNU) 4.9.x-google 20150123 (prerelease) > > Is there any similar flag