llvm-project/llvm/utils
Alp Toker 614717388c 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.

llvm-svn: 211749
2014-06-26 00:00:48 +00:00
..
FileCheck Introduce a string_ostream string builder facilty 2014-06-26 00:00:48 +00:00
KillTheDoctor Remove broken include. 2014-06-13 15:21:50 +00:00
Misc Patch that forces MergeFunctions pass for clang. 2013-09-24 20:06:31 +00:00
PerfectShuffle [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00
TableGen Introduce a string_ostream string builder facilty 2014-06-26 00:00:48 +00:00
Target/ARM
bugpoint
buildit ARM64: initial backend import 2014-03-29 10:18:08 +00:00
count Install three utils, "FileCheck", "count", and "not", for now to appease llvmlab dragonegg builder. 2013-12-20 06:25:37 +00:00
crosstool
emacs [Emacs] Use spaces rather than tabs for indentation in tablegen-mode 2014-06-24 01:42:29 +00:00
fpcmp Don't use PathV1.h in FileUtilities.h. 2013-06-13 20:41:00 +00:00
git [utils] Update find-rev utility to take a branch argument (name of the git-svn 2013-01-17 18:57:21 +00:00
git-svn Use 'git svn find-rev' in git-svnrevert instead of shell script fu. 2013-04-26 03:27:39 +00:00
jedit
kate Remove the linker_private and linker_private_weak linkages. 2014-03-13 23:18:37 +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 lit: Set a base directory for compiler-rt tests 2014-03-31 23:14:10 +00:00
not not: Only consider exit code 3 to be a crash with --crash 2014-06-23 22:54:33 +00:00
release Display the name of the project failing the url check in the release script 2014-04-14 12:36:48 +00:00
testgen [MC] bundle alignment: prevent padding instructions from crossing bundle boundaries 2013-01-31 17:00:03 +00:00
textmate
unittest Reverted r203879. 2014-03-14 01:56:55 +00:00
valgrind llvm/utils/valgrind/x86_64-pc-linux-gnu.supp: Add /usr/bin/cmp. 2013-01-20 15:30:29 +00:00
vim Remove the linker_private and linker_private_weak linkages. 2014-03-13 23:18:37 +00:00
yaml-bench Introduce a string_ostream string builder facilty 2014-06-26 00:00:48 +00:00
DSAclean.py
DSAextract.py
GenLibDeps.pl
GetRepositoryPath Fix the build for git repositories with multiple remotes. 2013-09-16 09:25:49 +00:00
GetSourceVersion
LLVMBuild.txt
Makefile Delete utils/FileUpdate. 2014-06-23 17:58:39 +00:00
UpdateCMakeLists.pl
check-each-file
clang-parse-diagnostics-file
codegen-diff
countloc.sh
findmisopt
findoptdiff
findsym.pl
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 Remove the linker_private and linker_private_weak linkages. 2014-03-13 23:18:37 +00:00
llvm.natvis Remove OwningPtr.h and associated tests 2014-06-19 07:25:18 +00:00
llvmdo
llvmgrep
makellvm
sort_includes.py
test_debuginfo.pl test_debuginfo.pl: Make failures easier to debug by printing the debugger 2014-02-20 19:55:44 +00:00
wciia.py Fix known typos 2014-01-24 17:20:08 +00:00