From a89cfd23c45708e87bfd3bb1d345a058a4d93a9b Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Tue, 29 Mar 2011 00:01:39 +0000 Subject: [PATCH] Expoert c interface for disassembler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128440 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/lto/Makefile | 3 ++- tools/lto/lto.exports | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/lto/Makefile b/tools/lto/Makefile index 294c81b9e73..46925e77de2 100644 --- a/tools/lto/Makefile +++ b/tools/lto/Makefile @@ -20,7 +20,8 @@ include $(LEVEL)/Makefile.config LINK_LIBS_IN_SHARED = 1 SHARED_LIBRARY = 1 -LINK_COMPONENTS := $(TARGETS_TO_BUILD) ipo scalaropts linker bitreader bitwriter +LINK_COMPONENTS := $(TARGETS_TO_BUILD) ipo scalaropts linker bitreader \ + bitwriter mcdisassembler include $(LEVEL)/Makefile.common diff --git a/tools/lto/lto.exports b/tools/lto/lto.exports index 0fcfee59d3c..b900bfb594b 100644 --- a/tools/lto/lto.exports +++ b/tools/lto/lto.exports @@ -27,3 +27,6 @@ lto_codegen_set_assembler_args lto_codegen_set_assembler_path lto_codegen_set_cpu lto_codegen_compile_to_file +LLVMCreateDisasm +LLVMDisasmDispose +LLVMDisasmInstruction