llvm-6502/tools
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 Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
bugpoint-passes
gold Fix unresolved symbols when loading gold plugin 2014-06-25 08:04:58 +00:00
llc Move MCOptions that aren't shared between programs into their specific 2014-05-21 21:05:09 +00:00
lli Pass a unique_ptr<MemoryBuffer> to the constructors in the Binary hierarchy. 2014-06-24 13:56:32 +00:00
llvm-ar Introduce a string_ostream string builder facilty 2014-06-26 00:00:48 +00:00
llvm-as
llvm-bcanalyzer Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
llvm-c-test
llvm-config
llvm-cov Finishing touch for the std::error_code transition. 2014-06-13 17:20:48 +00:00
llvm-diff
llvm-dis Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
llvm-dwarfdump Pass a std::unique_ptr& to the create??? methods is lib/Object. 2014-06-23 22:00:37 +00:00
llvm-extract
llvm-jitlistener
llvm-link
llvm-lto
llvm-mc Move -dwarf-version to an MC level command line option so it's 2014-06-19 06:22:08 +00:00
llvm-mcmarkup Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
llvm-nm Pass a std::unique_ptr& to the create??? methods is lib/Object. 2014-06-23 22:00:37 +00:00
llvm-objdump Introduce a string_ostream string builder facilty 2014-06-26 00:00:48 +00:00
llvm-profdata Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
llvm-readobj Introduce a string_ostream string builder facilty 2014-06-26 00:00:48 +00:00
llvm-rtdyld Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
llvm-shlib autoconf: Fix soname for libLLVM-Major.Minor.so (2nd try) 2014-05-13 19:37:03 +00:00
llvm-size Convert a few methods to use ErrorOr. 2014-06-23 20:41:02 +00:00
llvm-stress
llvm-symbolizer Convert a few methods to use ErrorOr. 2014-06-23 20:41:02 +00:00
lto Remove unused includes following r211294 2014-06-19 19:25:49 +00:00
macho-dump Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
msbuild
obj2yaml Remove unused and odd code. 2014-06-13 15:36:17 +00:00
opt opt: Initialize asm printers 2014-06-13 16:12:08 +00:00
yaml2obj Remove system_error.h. 2014-06-12 17:38:55 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile lld (build with configur and make) Enable build 2014-06-05 08:49:55 +00:00