From 055b3ff7bd2e1b9cf7dfda3181e67416bfd5c445 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 13 Feb 2004 23:01:14 +0000 Subject: Change how we create the cwriter, and add a buttload of libraries that it now needs. This will be fixed shortly git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11407 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-dis/Makefile | 2 +- tools/llvm-dis/llvm-dis.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/llvm-dis/Makefile b/tools/llvm-dis/Makefile index d5d0f93dfa..aac499c77b 100644 --- a/tools/llvm-dis/Makefile +++ b/tools/llvm-dis/Makefile @@ -9,5 +9,5 @@ LEVEL = ../.. TOOLNAME = llvm-dis -USEDLIBS = bcreader cwriter ipa.a vmcore support.a +USEDLIBS = cwriter ipa.a scalaropts.a target.a transformutils analysis.a bcreader vmcore support.a include $(LEVEL)/Makefile.common diff --git a/tools/llvm-dis/llvm-dis.cpp b/tools/llvm-dis/llvm-dis.cpp index d035b7f91a..225787baa7 100644 --- a/tools/llvm-dis/llvm-dis.cpp +++ b/tools/llvm-dis/llvm-dis.cpp @@ -122,7 +122,7 @@ int main(int argc, char **argv) { Passes.add(new PrintModulePass(Out)); break; case c: // Convert LLVM to C - Passes.add(createWriteToCPass(*Out)); + AddPassesToWriteC(Passes, *Out); break; } -- cgit v1.2.3