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

Ilia K ki.stfu at gmail.com
Thu Feb 26 08:49:54 PST 2015


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/






More information about the lldb-commits mailing list