llvm-mirror/tools/llvm-mc
Rafael Espindola a7ececf04c Simplify use of formatted_raw_ostream.
formatted_raw_ostream is a wrapper over another stream to add column and line
number tracking.

It is used only for asm printing.

This patch moves the its creation down to where we know we are printing
assembly. This has the following advantages:

* Simpler lifetime management: std::unique_ptr
* We don't compute column and line number of object files :-)

llvm-svn: 234535
2015-04-09 21:06:08 +00:00
..
CMakeLists.txt [CMake] Update LLVM_LINK_COMPONENTS for each CMakeLists.txt. 2013-12-10 11:13:32 +00:00
Disassembler.cpp Remove unused includes and out of date comment. NFC. 2014-12-17 03:07:20 +00:00
Disassembler.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
llvm-mc.cpp Simplify use of formatted_raw_ostream. 2015-04-09 21:06:08 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
Makefile build: Tidy up a bunch of tool Makefiles, and simplify where possible using the 2011-10-18 19:27:24 +00:00