search for: helloprog

Displaying 6 results from an estimated 6 matches for "helloprog".

2005 Feb 07
0
[LLVMdev] Segmentation Fault(Modifying BasicBlockPlacement.cpp)
...ocks , 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: ------------------------------------------------------------------- opt -load /home/tsharma/ankur/llvm/Debug/lib/LLVMHello.so -hello <helloprog.bc> /dev/null --------------------------------------------------------------------- I wish to make it more sophisticated but initially was trying to see whether a simple modification to BasicBlockPlacement works or not. Also when I try to run the -block-placement pass , I get the following mes...
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 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 to see the ch...
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, Tanu Sharma wrote: > Thanks for the reply. > > I wish to c...
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 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