OSDN Git Service

MCStreamer: Reimplement the virtual EmitRawText as a protected member, EmitRawTextImp...
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 24 Oct 2013 22:43:10 +0000 (22:43 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 24 Oct 2013 22:43:10 +0000 (22:43 +0000)
commit5759c3a02902026a27a0d1bc24a5bad85f52bd71
tree9f9b828ebafa2a8e5a7cbf718149fce0f7d10946
parent07d5aef3057b2e403b20d683e7477c93fde67d99
MCStreamer: Reimplement the virtual EmitRawText as a protected member, EmitRawTextImpl, to avoid string literal ambiguities

Also improve the implementation of EmitRawText(Twine) so it doesn't
bother using the SmallString buffer if the Twine is a simple StringRef
anyway.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193378 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCStreamer.h
lib/CodeGen/AsmPrinter/DIE.cpp
lib/MC/MCAsmStreamer.cpp
lib/MC/MCStreamer.cpp