Arnamoy Bhattacharyya
2012-Nov-20 01:46 UTC
[LLVMdev] lli successfully run the program but gcc gives seg-fault
Hello; I was writing this instrumentation pass and I am facing a problem. My pass instruments the bit code with some extra instructions. When I run this instrumented bitcode using lli, it runs perfectly, but when I compile the bitcode using llc and then produce the native binary using gcc and run it, I get a seg-fault. Can anyone please tell me the possible reason(s) for this? Thank you; -- Arnamoy Bhattacharyya Athabasca Hall 143 Department of Computing Science - University of Alberta Edmonton, Alberta, Canada, T6G 2E8 587-710-7073
Seemingly Similar Threads
- [LLVMdev] "symbol lookup error" while running a Simple Loop Pass
- [LLVMdev] "symbol lookup error" while running a Simple Loop Pass
- [LLVMdev] Identifying the instructions that uses a pointer used as a function argument
- [LLVMdev] Get the filename on which a pass is running?
- [LLVMdev] llvm::ConstantArray::get(llvm::LLVMContext&, llvm::StringRef, bool) deprecated?