llvm-6502/lib/MC/MCParser
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
..
AsmLexer.cpp MC: do not add comment string to the AsmToken in AsmLexer::LexLineComment 2014-06-18 20:57:32 +00:00
AsmParser.cpp Introduce a string_ostream string builder facilty 2014-06-26 00:00:48 +00:00
CMakeLists.txt
COFFAsmParser.cpp MC: adjust text section flags for WoA 2014-06-22 22:25:01 +00:00
DarwinAsmParser.cpp raw_ostream: Forward declare OpenFlags and include FileSystem.h only where necessary. 2014-04-29 23:26:49 +00:00
ELFAsmParser.cpp Emit DWARF info for all code section in an assembly file 2014-06-19 15:52:37 +00:00
LLVMBuild.txt
Makefile
MCAsmLexer.cpp [C++] Use 'nullptr'. 2014-04-24 06:44:33 +00:00
MCAsmParser.cpp [C++] Use 'nullptr'. 2014-04-24 06:44:33 +00:00
MCAsmParserExtension.cpp
MCTargetAsmParser.cpp [ms-inline asm] Add the isParsingInlineAsm() function to the MCAsmTargetParser. 2012-10-19 17:57:49 +00:00