mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	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
This commit is contained in:
		
							
								
								
									
										21
									
								
								lib/CodeGen/AsmStream.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								lib/CodeGen/AsmStream.cpp
									
									
									
									
									
										Normal file
									
								
							| @@ -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 <unistd.h> | ||||
|  | ||||
| namespace llvm { | ||||
|   raw_asm_fd_ostream asmouts(STDOUT_FILENO, false); | ||||
|   raw_asm_fd_ostream asmerrs(STDERR_FILENO, false); | ||||
| } | ||||
		Reference in New Issue
	
	Block a user