llvm-6502/tools/llvm-readobj
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
..
ARMAttributeParser.cpp [C++] Use 'nullptr'. Tools edition. 2014-04-25 04:24:47 +00:00
ARMAttributeParser.h tools: add support for decoding ARM attributes 2014-01-30 04:46:33 +00:00
ARMEHABIPrinter.h Remove all uses of 'using std::error_code' from headers. 2014-06-13 01:25:41 +00:00
ARMWinEHPrinter.cpp Introduce a string_ostream string builder facilty 2014-06-26 00:00:48 +00:00
ARMWinEHPrinter.h Remove all uses of 'using std::error_code' from headers. 2014-06-13 01:25:41 +00:00
CMakeLists.txt tools: initial implementation of WoA EH decoding 2014-06-04 15:47:15 +00:00
COFFDumper.cpp Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
ELFDumper.cpp [llvm-readobj] Fix member functions name style. 2014-06-18 09:24:01 +00:00
Error.cpp Remove unused and odd code. 2014-06-13 15:36:17 +00:00
Error.h Remove all uses of 'using std::error_code' from headers. 2014-06-13 01:25:41 +00:00
llvm-readobj.cpp [llvm-readobj][ELF] New -mips-plt-got command line option to output 2014-06-18 08:47:09 +00:00
llvm-readobj.h [llvm-readobj][ELF] New -mips-plt-got command line option to output 2014-06-18 08:47:09 +00:00
LLVMBuild.txt Don't link with the archive library programs that don't use it. 2013-06-17 15:29:46 +00:00
MachODumper.cpp Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
Makefile Don't link with the archive library programs that don't use it. 2013-06-17 15:29:46 +00:00
ObjDumper.cpp Re-sort #include lines again, prior to moving headers around. 2014-01-13 08:04:33 +00:00
ObjDumper.h [llvm-readobj][ELF] New -mips-plt-got command line option to output 2014-06-18 08:47:09 +00:00
StreamWriter.cpp Implements low-level object file format specific output for COFF and 2013-04-03 18:31:38 +00:00
StreamWriter.h tools: introduce StreamWriter::printBoolean 2014-06-04 15:47:11 +00:00
Win64EHDumper.cpp Introduce a string_ostream string builder facilty 2014-06-26 00:00:48 +00:00
Win64EHDumper.h Remove all uses of 'using std::error_code' from headers. 2014-06-13 01:25:41 +00:00