forked from OSchip/llvm-project
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:
parent
b09176a1e2
commit
9fae109121
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue