llvm-6502/utils
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
..
bugpoint
buildit
count
crosstool
emacs [Emacs] Use spaces rather than tabs for indentation in tablegen-mode 2014-06-24 01:42:29 +00:00
FileCheck Introduce a string_ostream string builder facilty 2014-06-26 00:00:48 +00:00
fpcmp
git
git-svn
jedit
kate
KillTheDoctor Remove broken include. 2014-06-13 15:21:50 +00:00
lint
lit lit: simplify population of the actual_inputs array 2014-06-17 18:17:46 +00:00
llvm-build llvm-build: Get rid of 'import *' 2014-04-23 19:17:42 +00:00
llvm-lit
Misc
not not: Only consider exit code 3 to be a crash with --crash 2014-06-23 22:54:33 +00:00
PerfectShuffle [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00
release
TableGen Introduce a string_ostream string builder facilty 2014-06-26 00:00:48 +00:00
Target/ARM
testgen
textmate
unittest
valgrind
vim
yaml-bench Introduce a string_ostream string builder facilty 2014-06-26 00:00:48 +00:00
check-each-file
clang-parse-diagnostics-file
codegen-diff
countloc.sh
DSAclean.py
DSAextract.py
findmisopt
findoptdiff
findsym.pl
GenLibDeps.pl
GetRepositoryPath
GetSourceVersion
getsrcs.sh
lldbDataFormatters.py utils: Teach lldbDataFormatters to load automatically 2014-05-28 05:45:17 +00:00
llvm-compilers-check Remove bogus configure check 2014-06-19 19:31:11 +00:00
llvm-native-gxx
llvm.grm
llvm.natvis Remove OwningPtr.h and associated tests 2014-06-19 07:25:18 +00:00
LLVMBuild.txt
llvmdo
llvmgrep
Makefile Delete utils/FileUpdate. 2014-06-23 17:58:39 +00:00
makellvm
sort_includes.py
test_debuginfo.pl
UpdateCMakeLists.pl
wciia.py