[llvm-objcopy] [COFF] Fix warnings abuilt missing field initialization. NFC.
[llvm-complete.git] / tools / lto / LTODisassembler.cpp
blob186acebc01bf71c6cbcabf153c3ee423890dc182
1 //===-- LTODisassembler.cpp - LTO Disassembler interface ------------------===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This function provides utility methods used by clients of libLTO that want
11 // to use the disassembler.
13 //===----------------------------------------------------------------------===//
15 #include "llvm-c/lto.h"
16 #include "llvm/Support/TargetSelect.h"
18 using namespace llvm;
20 void lto_initialize_disassembler() {
21 // Initialize targets and assembly printers/parsers.
22 llvm::InitializeAllTargetInfos();
23 llvm::InitializeAllTargetMCs();
24 llvm::InitializeAllAsmParsers();
25 llvm::InitializeAllDisassemblers();