similar to: [LLVMdev] Error while compiling .cpp

Displaying 20 results from an estimated 6000 matches similar to: "[LLVMdev] Error while compiling .cpp"

2005 Apr 23
1
[LLVMdev] Error while compiling .cpp
Thanks a lot for replying. I would check my system gcc configuration. I got very useful replies from dev list regarding my earlier question but yet not able to determine block size. That I want in total size of a block in a function in bytes and not just the number of instructions.LLVM Tool gives most of the information e.g function bytes etc....but not individual block. Thanks Tanu Chris
2005 Apr 25
2
[LLVMdev] Compilation without optimization
Thanks for the reply. I wish to compile without optimizations ( the option being turned off ) but still generate bytecode file. Options -S , -c removes optimizations but I also need .bc file to experiment and use further. How should I do it? Thanks -TS Chris Lattner <sabre at nondot.org> wrote: On Sat, 23 Apr 2005, Tanu Sharma wrote: > I got very useful replies from dev list
2005 Apr 25
0
[LLVMdev] Compilation without optimization
On Mon, 25 Apr 2005, Tanu Sharma wrote: > Thanks for the reply. > > I wish to compile without optimizations ( the option being turned off ) > but still generate bytecode file. > > Options -S , -c removes optimizations but I also need .bc file to > experiment and use further. Passing "-Wa,-disable-opt -Wl,-disable-opt" will disable *all* cleanup and optimizations
2005 Apr 26
1
[LLVMdev] Compilation without optimization
Thanks !! But if i generate a .bc file like this and then run my pass over it like this : opt -load /home/llvm-cvs/llvm/Debug/lib/LLVMHello.so -hello <helloprog.bc> class_prog.bc Will the new .bc file (class_prog.bc) be also without optimizations ?opt also does some optimizations.Can I control them ? Thanks Tanu Chris Lattner <sabre at nondot.org> wrote: On Mon, 25 Apr 2005,
2005 Apr 22
1
[LLVMdev] Error while compiling .cpp
Hello, I am trying to rum my pass (.cpp file) and I am getting the following error. ---------------------------------------------------------------------------------------------------------------- g++: /usr/lib/gcc/i386-redhat-linux/3.4.2/../../../crti.o: No such file or directory g++: /usr/lib/gcc/i386-redhat-linux/3.4.2/crtbeginS.o: No such file or directory g++:
2005 Feb 07
0
[LLVMdev] Segmentation Fault(Modifying BasicBlockPlacement.cpp)
Thanks a lot for replying Chris, I m trying to randomize the blocks in a program.I generate a random number( between the current "InsertPos" and the last block), and then iterate through the list of basicblocks , picking up block with position equal to that of the random number and place it into the current InsertPos and increment InsertPos. Running it like this:
2005 Feb 07
2
[LLVMdev] Segmentation Fault(Modifying BasicBlockPlacement.cpp)
On Mon, 7 Feb 2005, Tanu Sharma wrote: > I have been trying to randomize blocks in a program and modified > "BasicBlockPlacement.cpp" for the purpose but getting segmentation > fault.I am not able to determine the problem.Can anyone please decrypt > these error messages or suggest what might be the possible cause of > failure? I'd be happy to fix this, but I need
2005 Jun 02
4
[LLVMdev] Randomizing Functions & Global variables
By randomization of functions I mean the manner in whch they are called , so that has to do with address.I wish to randomize the order of calls made to functions when a program is run. Reid Spencer <reid at x10sys.com> wrote:Can you explain a little bit more about what you mean by "randomize" functions or global variables? What aspect of them do you want to randomize? Their
2005 Mar 09
2
[LLVMdev] Question
This is exactly what i m trying : opt -load /home/tsharma/ankur/llvm/Debug/lib/LLVMHello.so -hello <helloprog.bc> /dev/null Tanu Chris Lattner <sabre at nondot.org> wrote: On Wed, 9 Mar 2005, Tanu Sharma wrote: > I wrote a pass which randomizes basic blocks and insert new block.But > when i run another pass over it which simply lists all basic blocks I > don't get
2005 Feb 07
0
[LLVMdev] Segmentation Fault(Modifying BasicBlockPlacement.cpp)
Hi, I have been trying to randomize blocks in a program and modified "BasicBlockPlacement.cpp" for the purpose but getting segmentation fault.I am not able to determine the problem.Can anyone please decrypt these error messages or suggest what might be the possible cause of failure? -----------------------------------------------------------------------------------------------------
2005 Feb 17
0
[LLVMdev] Branching to Entry block
Thanks a lot for replying...but I am not doing any deleting or removing node ...I am trying to insert a "new" entry node in an existing list. In another reply I understood (also mentioned on the site) that no other block can branch to the entry block. How do I achieve this ? Is it feasible?Let me know if there is any example. Thanks again, Tanu Chris Lattner <sabre at
2005 Sep 05
0
[LLVMdev] Doubt
On Sun, 4 Sep 2005, Tanu Sharma wrote: > > I have a doubt. > > This is an excerpt of the raw report I get after running Spec benchmarks > through llvm-test.I am trying to calculate the program execution > time.Does the output result in bold corresponds to "lli time" in > Makefile.spec ? I am not interested in llc, jit or cbe.I simply need the > normal
2005 Jun 02
0
[LLVMdev] Randomizing Functions & Global variables
Can you explain a little bit more about what you mean by "randomize" functions or global variables? What aspect of them do you want to randomize? Their address? Their value? Something else? Reid. On Thu, 2005-06-02 at 13:53 -0700, Tanu Sharma wrote: > I would try that ..Thanks > > Another thing that I want to do is to randomize functions within a > program (or file ),
2005 Jun 02
0
[LLVMdev] Randomizing Functions & Global variables
On Thu, Jun 02, 2005 at 02:12:22PM -0700, Tanu Sharma wrote: > By randomization of functions I mean the manner in whch they are > called , so that has to do with address.I wish to randomize the order > of calls made to functions when a program is run. How would you "randomize the order of calls made to functions when a program is run" without changing the semantics of the
2005 Feb 17
4
[LLVMdev] Branching to Entry block
On Thu, 17 Feb 2005, Tanu Sharma wrote: > I created a new block and inserted it into the present basic block list > , but I get this error: > > opt: BasicBlock.cpp:83: virtual llvm::BasicBlock::~BasicBlock(): Assertion `getParent() == 0 && "BasicBlock still linked into the program!"' failed. > > The program completes its task and i get this in the end. I am
2004 Nov 30
0
[LLVMdev] Trouble using llvm tools
Thanks for replying, Yes, I think too that the bytecode file is corrupted. This is the file : -------------------------------------------------------------------------------------------------------------------------
2005 Jun 02
4
[LLVMdev] Randomizing Functions & Global variables
I would try that ..Thanks Another thing that I want to do is to randomize functions within a program (or file ), whatever is easier to do in llvm .Also please tell me how can I randomize global variables ? Thanks TS Chris Lattner <sabre at nondot.org> wrote: On Mon, 30 May 2005, Tanu Sharma wrote: > I have been trying to compile the SPEC benchmark but have failed even > after
2005 Feb 27
2
[LLVMdev] Measuring performance overhead
Thanks for the reply :-) I am actually looking for ways to determine "size" of code segment when the program is in native code. Any suggestions to do that ? Tanu Chris Lattner <sabre at nondot.org> wrote: On Fri, 25 Feb 2005, Tanu Sharma wrote: > > Hey, > > I have written a pass and wishes to measure its performance overhead > after running it over a
2005 Apr 07
1
[LLVMdev] Questions !!
Thanks for the reply, Actually I m aiming towards determining two values: - number of basic blocks in a program For this I have used Statistic facility provided in llvm and increasing the counter for each basic block for each function.but for some reason , I m getting different number everytime !! Is Statistic is the right way to do it ? - Average basic block size in a program ( in bytes)
2005 Feb 15
2
[LLVMdev] Entry block (Randomisation)
Tanu Sharma wrote: > Hello, > > In an attempt to randomise the basic blocks in a function, is it > possible that I can randomise the entry block as well? And maybe insert > some instructions in the pass to call entry block while running the > program ? > > Is it feasible? > > What does entry block consist of ? The entry block, by definition, is the first basic