Displaying 1 result from an estimated 1 matches for "createsparcv8codeprinterpass".
2005 Jan 28
2
[LLVMdev] llc -load
...ing hard to load my backend. But I got problems.
I took the target SparcV8 for lab.
1. mark all of the code in the bool
SparcV8TargetMachine::addPassesToEmitAssembly(PassManager
&PM,std::ostream &Out)
and make it return false.( Of course I mark the // Output assembly language.
PM.add(createSparcV8CodePrinterPass(Out, *this));)
2. generate the LLVMSparcV8.so in the /usr/local/lib
3. run llc -load=/usr/local/lib/LLVMSparcV8.so -march=sparcv8 test.bc -o test.s
Guess what? I got the assembly code of the test.bc....
why....why....why?????
What's wrong with my steps????
Please help me!!!Thanx!
Dave.