llvm-6502/lib/Target/X86/MCTargetDesc
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
..
CMakeLists.txt MC: create X86WinCOFFStreamer for target specific behaviour 2014-04-27 03:48:12 +00:00
LLVMBuild.txt LLVMBuild.txt: Add missing dependencies. 2014-04-10 11:16:47 +00:00
Makefile
X86AsmBackend.cpp Introduce a string_ostream string builder facilty 2014-06-26 00:00:48 +00:00
X86BaseInfo.h AVX-512: changes in intrinsics 2014-05-12 07:18:51 +00:00
X86ELFObjectWriter.cpp Fix pr19645. 2014-05-03 19:57:04 +00:00
X86ELFRelocationInfo.cpp [C++] Use 'nullptr'. Target edition. 2014-04-25 05:30:21 +00:00
X86FixupKinds.h Handle _GLOBAL_OFFSET_TABLE_ in 64 bit mode. 2014-04-21 21:15:45 +00:00
X86MachObjectWriter.cpp [C++] Use 'nullptr'. Target edition. 2014-04-25 05:30:21 +00:00
X86MachORelocationInfo.cpp [C++] Use 'nullptr'. Target edition. 2014-04-25 05:30:21 +00:00
X86MCAsmInfo.cpp Re-apply r211399, "Generate native unwind info on Win64" with a fix to ignore SEH pseudo ops in X86 JIT emitter. 2014-06-25 12:41:52 +00:00
X86MCAsmInfo.h
X86MCCodeEmitter.cpp AVX-512: changes in intrinsics 2014-05-12 07:18:51 +00:00
X86MCTargetDesc.cpp Move X86RegisterInfo away from using the TargetMachine and only 2014-06-10 22:34:28 +00:00
X86MCTargetDesc.h Move X86RegisterInfo away from using the TargetMachine and only 2014-06-10 22:34:28 +00:00
X86WinCOFFObjectWriter.cpp
X86WinCOFFStreamer.cpp Remove an always true argument. 2014-05-12 13:30:10 +00:00