search for: akcheung

Displaying 4 results from an estimated 4 matches for "akcheung".

2008 Nov 17
1
[LLVMdev] getting debug type info
Hi, Is there a way to get all the basic and derived types defined in a C++ module? I was looking through MachineModuleInfo class but it seems that I need to first get hold of a Value before being able to get its DebugInfoDesc. Thanks, Alvin
2009 Apr 13
1
[LLVMdev] issues with lli
Hello, I was trying to use lli to run a very simple c++ program on linux that uses the c++ library but the interpreter crashed. But the same works fine with JIT enabled. I am wondering if anyone has encountered similar issues? Thanks, Alvin ------------------------------------------------------------------------------- #include <string> void main() { std::string
2010 Mar 31
0
[LLVMdev] LoopInfo pass
Hello, Apologies for a rather simple question -- I am trying to run the LoopInfo pass in my code (a standalone program that is not a pass itself), and I did this: FunctionPassManager fpm(mod); LoopInfo * li = new LoopInfo(); fpm.add(li); fpm.run(fn); but when I ran this on a simple program like: int main (int argc, char * argv []) { int i, ret; for (i = 0; i < 10; ++i) ++ret;
2010 Apr 12
2
[LLVMdev] compiling llvm src into llvm bitcode
Hi all, Is there an easy way to compile llvm src code into llvm bitcode? Would just changing CC in the makefile work? Thanks, Alvin