[LLVMdev] adding a codegen pass into llvm
marwayusuf at feng.bu.edu.eg
marwayusuf at feng.bu.edu.eg
Thu Feb 7 03:49:06 PST 2013
Dear All
in this - quite old - message
http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-January/037496.html
I followed all the steps except the last one, as I don't think my pass depends on anything else, and I didn't fully understand it.
And I tried to rebuild the llvm to make it take my pass into account. I placed my pass in the llvm/lib/CodeGen folder.
But - as I predicted - it didn't work. It stopped here
"make[1]: *** [Transforms/.makeall] Error 2"
Attached are my two files
Any help is appreciated.
Regards,
Marwa Yusuf
E-JUST MSc Student
Computer Science & Engineering Dept.
Teaching Assistant - Computer Engineering Department
Faculty of Engineering - Benha University
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BasicBlocksMap.h
Type: text/x-chdr
Size: 321 bytes
Desc: BasicBlocksMap.h
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130207/80a1fdb4/attachment.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BasicBlocksMap.cpp
Type: text/x-c++src
Size: 1246 bytes
Desc: BasicBlocksMap.cpp
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130207/80a1fdb4/attachment.cpp>
More information about the llvm-dev
mailing list