Re: [Lldb-commits] [lldb] r280204 - Revert r280200 and put it a proper fix

2016-08-31 Thread Pavel Labath via lldb-commits
It's MemoryRegionInfo::SetName(const char *), there's no StringRef version. I wanted to keep the fix minimal, but it turned out to not be enough. On 31 August 2016 at 14:21, Zachary Turner wrote: > SetName accepts a StringRef, why not just SetName(line_extractor.Peek())? > > On Wed, Aug 31, 2016

Re: [Lldb-commits] [lldb] r280204 - Revert r280200 and put it a proper fix

2016-08-31 Thread Zachary Turner via lldb-commits
SetName accepts a StringRef, why not just SetName(line_extractor.Peek())? On Wed, Aug 31, 2016 at 12:57 AM Pavel Labath via lldb-commits < lldb-commits@lists.llvm.org> wrote: > Author: labath > Date: Wed Aug 31 02:49:37 2016 > New Revision: 280204 > > URL: http://llvm.org/viewvc/llvm-project?rev=2

[Lldb-commits] [lldb] r280204 - Revert r280200 and put it a proper fix

2016-08-31 Thread Pavel Labath via lldb-commits
Author: labath Date: Wed Aug 31 02:49:37 2016 New Revision: 280204 URL: http://llvm.org/viewvc/llvm-project?rev=280204&view=rev Log: Revert r280200 and put it a proper fix PeekChar returns a character, we want the whole string there. Modified: lldb/trunk/source/Plugins/Process/Linux/NativePr