Change how we create the cwriter, and add a buttload of libraries that it now

needs.  This will be fixed shortly

llvm-svn: 11407
This commit is contained in:
Chris Lattner 2004-02-13 23:01:14 +00:00
parent b09176a1e2
commit 9fae109121
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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;
}