llvm-6502/unittests
Alp Toker 2559070422 Introduce a string_ostream string builder facilty
string_ostream is a safe and efficient string builder that combines opaque
stack storage with a built-in ostream interface.

small_string_ostream<bytes> additionally permits an explicit stack storage size
other than the default 128 bytes to be provided. Beyond that, storage is
transferred to the heap.

This convenient class can be used in most places an
std::string+raw_string_ostream pair or SmallString<>+raw_svector_ostream pair
would previously have been used, in order to guarantee consistent access
without byte truncation.

The patch also converts much of LLVM to use the new facility. These changes
include several probable bug fixes for truncated output, a programming error
that's no longer possible with the new interface.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211749 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-26 00:00:48 +00:00
..
ADT Recommit 211309 (StringMap::insert), reverted in 211328 due to issues with private, but non-deleted, move members. 2014-06-23 18:28:53 +00:00
Analysis [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00
Bitcode
CodeGen
DebugInfo
ExecutionEngine Introduce a string_ostream string builder facilty 2014-06-26 00:00:48 +00:00
IR Revert "Replace Execution Engine's mutex with std::recursive_mutex." 2014-06-20 21:07:14 +00:00
LineEditor
Linker [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00
MC
Object
Option
Support Revert r211287, "Remove support for LLVM runtime multi-threading." 2014-06-24 13:36:31 +00:00
Transforms Finishing touch for the std::error_code transition. 2014-06-13 17:20:48 +00:00
CMakeLists.txt
Makefile
Makefile.unittest