mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-29 15:17:14 +00:00
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
This commit is contained in:
@@ -9,5 +9,5 @@
|
|||||||
LEVEL = ../..
|
LEVEL = ../..
|
||||||
|
|
||||||
TOOLNAME = llvm-dis
|
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
|
include $(LEVEL)/Makefile.common
|
||||||
|
@@ -122,7 +122,7 @@ int main(int argc, char **argv) {
|
|||||||
Passes.add(new PrintModulePass(Out));
|
Passes.add(new PrintModulePass(Out));
|
||||||
break;
|
break;
|
||||||
case c: // Convert LLVM to C
|
case c: // Convert LLVM to C
|
||||||
Passes.add(createWriteToCPass(*Out));
|
AddPassesToWriteC(Passes, *Out);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user