1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/utils
Alp Toker fd9ead3b6f 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
..
bugpoint
buildit ARM64: initial backend import 2014-03-29 10:18:08 +00:00
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 Remove the linker_private and linker_private_weak linkages. 2014-03-13 23:18:37 +00:00
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 lit: Set a base directory for compiler-rt tests 2014-03-31 23:14:10 +00:00
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 Display the name of the project failing the url check in the release script 2014-04-14 12:36:48 +00:00
TableGen Introduce a string_ostream string builder facilty 2014-06-26 00:00:48 +00:00
Target/ARM
testgen
textmate
unittest Reverted r203879. 2014-03-14 01:56:55 +00:00
valgrind
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
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 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
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