[Lldb-commits] [PATCH] Fix FileSpec::GetPath to return null-terminated strings

Zachary Turner zturner at google.com
Thu Feb 26 08:53:14 PST 2015


I think i missed the context, was just responding from the middle of the
thread. What are you trying to do exactly? (The review doesn't display
nicely on mobile, so it's hard for me to read right now)
On Thu, Feb 26, 2015 at 8:50 AM Ilia K <ki.stfu at gmail.com> wrote:

> In http://reviews.llvm.org/D7553#130458, @zturner wrote:
>
> > Windows has it, it just has slightly different behavior.
> >
> > Anyway, i also recommend StringStream. It's a better, safer wrapper
> around
> >  the same function and we can encode compiler / platform specific
> >  differences in one location instead of at every callsite.
>
>
> Do you mean StreamString (from source/Core/StreamString.cpp)? How I can
> get a truncated string in StreamString?
>
>
> http://reviews.llvm.org/D7553
>
> EMAIL PREFERENCES
>   http://reviews.llvm.org/settings/panel/emailpreferences/
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150226/1df16dbf/attachment.html>


More information about the lldb-commits mailing list