From 7869cae7ecb3aca600aa30d83ebcaa1d0af6c6aa Mon Sep 17 00:00:00 2001 From: David Greene Date: Thu, 9 Jul 2009 23:56:35 +0000 Subject: Redesign this to avoid standard stream classes. This stream class provides pretty -printing of comments and other such things in asm files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75202 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/AsmStream.cpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 lib/CodeGen/AsmStream.cpp (limited to 'lib/CodeGen/AsmStream.cpp') diff --git a/lib/CodeGen/AsmStream.cpp b/lib/CodeGen/AsmStream.cpp new file mode 100644 index 0000000..4e9c561 --- /dev/null +++ b/lib/CodeGen/AsmStream.cpp @@ -0,0 +1,21 @@ +//===-- llvm/CodeGen/AsmStream.cpp - AsmStream Framework --------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file was developed by the LLVM research group and is distributed under +// the University of Illinois Open Source License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This file contains instantiations of "standard" AsmOStreams. +// +//===----------------------------------------------------------------------===// + +#include "llvm/CodeGen/AsmStream.h" + +#include + +namespace llvm { + raw_asm_fd_ostream asmouts(STDOUT_FILENO, false); + raw_asm_fd_ostream asmerrs(STDERR_FILENO, false); +} -- cgit v1.1