Mercurial > hg > CbC > CbC_llvm
view tools/lto/LTODisassembler.cpp @ 23:7694d90773c7
if a code segment is a variadic function , llvm/clang doesn't do TCE. ( avoid a error )
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 04 Nov 2013 23:30:18 +0900 |
parents | 9ad51c7bc036 |
children | c2174574ed3a |
line wrap: on
line source
//===-- LTODisassembler.cpp - LTO Disassembler interface ------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // This function provides utility methods used by clients of libLTO that want // to use the disassembler. // //===----------------------------------------------------------------------===// #include "llvm-c/lto.h" #include "llvm/Support/TargetSelect.h" using namespace llvm; void lto_initialize_disassembler() { // Initialize targets and assembly printers/parsers. llvm::InitializeAllTargetInfos(); llvm::InitializeAllTargetMCs(); llvm::InitializeAllAsmParsers(); llvm::InitializeAllDisassemblers(); }