//===-- AsmWriter.cpp - Printing LLVM as an assembly file -----------------===////// 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 library implements the functionality defined in llvm/Assembly/Writer.h//// Note that these routines must be extremely tolerant of various errors in the// LLVM code, because it can be used for debugging transformations.////===----------------------------------------------------------------------===//#include"llvm/Assembly/Writer.h"#include"llvm/Assembly/PrintModulePass.h"#include"llvm/Assembly/AsmAnnotationWriter.h"#include"llvm/CallingConv.h"#include"llvm/Constants.h"#include"llvm/DerivedTypes.h"#include"llvm/InlineAsm.h"#include"llvm/Instruction.h"#include"llvm/Instructions.h"#include"llvm/Module.h"#include"llvm/ValueSymbolTable.h"#include"llvm/TypeSymbolTable.h"#include"llvm/ADT/StringExtras.h"#include