search for: abhirup

Displaying 10 results from an estimated 10 matches for "abhirup".

2011 Mar 25
2
[LLVMdev] set line number debug info
...ver I call the getLine() function from other functions then it is returning the previous value not the changed. Is the change in the LineCol variable is not permanent or is this variable not at all linked with the debug information? How can I set the line number information for the instructions? Abhirup Ghosh M. Tech Department of Computer Science & Engg. IIT, Bombay email - abhirupju at gmail.com , abhirup at cse.iitb.ac.in Contact - 9920735181 On Mon, Mar 14, 2011 at 1:45 PM, Frits van Bommel <fvbommel at gmail.com>wrote: > On Mon, Mar 14, 2011 at 8:56 AM, Abhirup Ghosh <abhir...
2011 Jan 17
2
[LLVMdev] File reading in LLVM 2.8
Hi, I am new to LLVM. I am trying to read a plain text file in a llvm pass. But getting an error - llvm[0]: Linking Release Loadable Module LLVMHello.so /usr/bin/ld: /home/abhirup/llvm/llvm2.8_Install/llvm-2.8/lib/Transforms/Hello/Release/Hello.o: relocation R_X86_64_PC32 against undefined symbol `(anonymous namespace)::Hello::update_sec_read(char const*)' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value collect2...
2011 Mar 25
0
[LLVMdev] set line number debug info
...o set the line number for an instruction - 1. Add a function in DebugLoc class located in llvm/Support/DebugLoc.h. Set the line number there to the private variable called LineCol. 2. Call the added function. And then pass the modified DebugLoc object to the seDebugInfo method for the instruction. Abhirup Ghosh M. Tech Department of Computer Science & Engg. IIT, Bombay email - abhirupju at gmail.com , abhirup at cse.iitb.ac.in Contact - 9920735181 / 9434362120 On Fri, Mar 25, 2011 at 5:45 PM, Abhirup Ghosh <abhirupju at gmail.com> wrote: > Thanks for the help. > I thought I'd...
2011 Mar 14
2
[LLVMdev] set line number debug info
...t how do I create MDNode* consisting of desired source line number. Source line number can be extracted from the instruction-debug-info using getMetadata method and then using getLineNumber method from DILocation class. Unfortunately DILocation class does not have any function like setLinenumber. Abhirup Ghosh M. Tech Department of Computer Science & Engg. IIT, Bombay email - abhirupju at gmail.com , abhirup at cse.iitb.ac.in Contact - 9920735181 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110314/c15a...
2011 Jan 18
0
[LLVMdev] File reading in LLVM 2.8
Hi Abhirup, please reply to the mailing list and not just to me personally (that way others can answer too, and the discussion is archived which helps other people with the same problem). > How to compile with -fPIC? I am new to llvm so can you please elaborate? This has nothing to do with LLVM: -fPIC is...
2011 Mar 14
0
[LLVMdev] set line number debug info
On Mon, Mar 14, 2011 at 8:56 AM, Abhirup Ghosh <abhirupju at gmail.com> wrote: > Hi, >       I am new to LLVM infrastructure. Recently I am trying to set the debug > info for an instruction. The main aim is to set the source line number of an > instruction. Can anyone please show how to do that? >       I think  that...
2011 Feb 09
2
[LLVMdev] LLVM in Eclipse
...I am new to Eclipse IDE. I am working with LLVM using command line for some time. Now I want to integrate it with eclipse IDE. Can anyone please give layman instructions how to import the llvm source project, install it and built it in the eclipse IDE. Sorry for this type of novice request. - Abhirup -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110209/a01c70da/attachment.html>
2011 Feb 05
1
[LLVMdev] How to create new local variable
...whenever I am going to insert a LoadInst for that variable I am getting segmentation fault. It is telling that llvm::Value::setName(...) fails and that has something to do with llvm::ValueSymbolTable::createValueName(...) method. What should I do to insert the local variable? Thanks and regards, Abhirup Ghosh M. Tech Department of Computer Science & Engg. IIT, Bombay email - abhirupju at gmail.com , abhirup at cse.iitb.ac.in
2013 Jan 26
2
[LLVMdev] Code compiling in gcc but not llvm
Hi, This is my first post, sorry if not in the right format. I am stuck at a place where I have a code fragment that runs in normal gcc but fails when I give -fplugin=dragonegg.so extern int *testfunc(); extern __typeof (testfunc) testfunc __asm__ ("" "__GI_testfunc") __attribute__ ((visibility ("hidden"))); extern __typeof(testfunc) __testfunc; extern __typeof
2013 Jan 27
0
[LLVMdev] Code compiling in gcc but not llvm
...untu5) 4.6.3" .section .note.GNU-stack,"", at progbits $ gcc -S test.c -fplugin=dragonegg.so test.c:17:29: error: ‘*__GI_testfunc’ aliased to undefined symbol ‘__testfunc’ I am trying to compile this file using llvm as backend (dragonegg) On Fri, Jan 25, 2013 at 10:45 PM, abhirup dutta <abyrupus at gmail.com> wrote: > Hi, > > This is my first post, sorry if not in the right format. > > I am stuck at a place where I have a code fragment that runs in normal gcc > but fails when I give -fplugin=dragonegg.so > > extern int *testfunc(); > > e...