similar to: [LLVMdev] File reading in LLVM 2.8

Displaying 20 results from an estimated 700 matches similar to: "[LLVMdev] File reading in LLVM 2.8"

2011 Mar 25
2
[LLVMdev] set line number debug info
Thanks for the help. I thought I'd solved the problem (setting the line number information in the instruction metadata) by inserting my own function for setting line number in llvm/Support/DebugLoc.h. I have added a function setLine(unsigned) in DebugLoc class. The function simply sets the LineCol variable as needed. But there is a problem. Whenever I'm checking the line number(calling
2011 Mar 14
2
[LLVMdev] set line number debug info
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 setMetadata method in Instruction class is to be used. But how do I create MDNode* consisting of desired source line number. Source line number can be extracted from the
2011 Mar 25
0
[LLVMdev] set line number debug info
Oh! I made a mistake by not using setDebugInfo() function present in the Instruction class. Now it's working fully. So, the solution is:- To 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
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 a gcc option needed to build code that is to be part of a dynamic library. So just add
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 setMetadata method in Instruction class is to be used. >
2011 Feb 05
1
[LLVMdev] How to create new local variable
Hi, I want to implement a simple common sub expression pass in llvm2.8 which demands replacing the uses of the redundant expressions with a temporary variable. So, to introduce new temporary variable I have inserted an AllocaInst (...) providing the name of the temporary and desired type. But whenever I am going to insert a LoadInst for that variable I am getting segmentation fault. It is
2011 Feb 09
2
[LLVMdev] LLVM in Eclipse
Hi, 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:
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
2018 Nov 30
1
Xapian Benchmark results
Hi, I am currently trying to benchmark a multithreaded xapian implementation on a chameleon baremetal instance written in C++. My workload is a 3 Gig wikipedia xml dump consisting of ~286 file of different sizes. My results are showing me that indexing on xapian is an order of magnitude faster than my lucene and lucene plusplus implementations. This is a result that I did not expect. Just want to
2013 Jan 27
0
[LLVMdev] Code compiling in gcc but not llvm
$ gcc -S test.c $ cat test.s .file "test.c" .text .globl __GI___testfunc .hidden __GI___testfunc .type __GI___testfunc, @function __GI___testfunc: .LFB0: .cfi_startproc pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 movq %rsp, %rbp .cfi_def_cfa_register 6 movl $0, %eax popq %rbp .cfi_def_cfa 7, 8
2010 Apr 21
1
[PATCH matahari] Created a new platform-abstraction layer named Platform.
It provides an initial implementation, LinuxPlatform, which is by default included in the build. Later code will refactor the build process to include the appropriate implementation depending on the target platform. Signed-off-by: Darryl L. Pierce <dpierce at redhat.com> --- src/Makefile.am | 4 ++ src/linux_platform.cpp | 117 ++++++++++++++++++++++++++++++++++++++++++++++++
2010 Mar 17
2
[LLVMdev] Understanding tail calls
I have some code generated with llvm-g++ and llvm-link that includes a tail call that is confusing me for two reasons: 1) I am not sure why it is a tail call (i.e. it does not look like it is in the tail position) 2) When I instrument the code using my opt pass, none of the instrumentation functions in the callee get called, leading me to believe that some funny business is going on. Below I
2019 Aug 27
2
Orc JIT vs. STL
You can add symbols from Archieve via StaticLibrarySearchGenerator. But it is added recently though On Tue, 27 Aug 2019 at 21:02, Praveen Velliengiri < praveenvelliengiri at gmail.com> wrote: > Hi Geoff, > I tried it, but I can't able to reproduce it. > > Test Program: > #include <fstream> > int main() > { > std::ifstream stream1, stream2; >
2010 Mar 17
0
[LLVMdev] Understanding tail calls
On Mar 16, 2010, at 6:46 PM, Scott Ricketts wrote: > I have some code generated with llvm-g++ and llvm-link that includes a tail call that is confusing me for two reasons: > > 1) I am not sure why it is a tail call (i.e. it does not look like it is in the tail position) The "tail" marker has a very specific description in LLVM IR: it says that the caller does not access the
2011 May 06
2
[LLVMdev] How to identify loop header
I would like to know how one can identify whether a basic block is a loop header? Regards, Ashutosh Shukla, 10305052 M. Tech 1 Dept of Computer Science and Engg.
2008 Jan 02
2
how to ignore or omit somethings while reading the data table
hello respected ppl... am a engg. student...i was trying to use R in statistical calculations now the problem is..i imported a huge tsv file onto R...it has a column which gives cost...and it has "$" with each numerical value in this column...it is something like this..$.05,$.1,$.075...and so on.. R is reading it as "character vector"... i tried using all the arguments but
2018 Feb 17
1
GSOC 2018 Introduction
Hello all, My name is Ashish Kumar Gahlot and I am a final year undergraduate student of Engineering College Ajmer(Rajasthan, India) majoring in Computer Science. I am interested in working on project *Integrate with Z3 SMT solver to reduce false positives *for GSOC 2018. I am having experience with SMT solvers as I play CTFs and have used z3 to solve reverse engineering problems. How can I
2011 May 05
1
[LLVMdev] Get instruction as a string and SSA form
1. I am trying to get the instruction of LLVM intermediate code as a string. How can this be done? 2. Also in the SSA version of the code, how can we come to know which %N (N is any integer) is a version of some variable 'a' and which is just a temporary? Regards, Ashutosh Shukla, 10305052 M. Tech 1 Dept of Computer Science and Engg.
2006 Jan 06
2
Not Able to Connect Two Asterisk Servers Using IAX2
Hi I have two asterisk servers. I just want to connect two asterisk server using IAX2. But the Asterisk Servers are not able to register each other. If some body have done this then Please send me the configuration they have done in iax.conf and extensions.conf. I simply want to connect and call from one sever to another. Thanks Chandan Kumar Mishra Software Engg. -------------- next part
2015 Mar 27
1
GSOC introduction
hi, i am Mintoo Kumar ,2nd year computer engg. undergraduate at NSIT,delhi unversity, india .i am a beginner to open source and want to contribute for open source community.i am coding in c/c++ since last 2 years.and i have experience of coding in python,java,html,css,php,xml as well.i would like to work on the project "Icecast configuration interface". thank you ! -------------- next