Displaying 3 results from an estimated 3 matches for "237c237".
2009 May 19
1
[LLVMdev] how to get a deterministic execution
...so -hello -debug-pass Structure < try_calls_basic2.bc > try_calls_basic2.2.bc 2> x1
(305)$ $LLVM/opt -O3 -IR-DUMP :ALL -load ~/download/llvm-objects/Debug/lib/LLVMHello.so -hello -debug-pass Structure < try_calls_basic2.bc > try_calls_basic2.2.bc 2> x2
(306)$ diff x1 x2|more
237c237
< %0 = tail call i32 (...)* %pf() nounwind ; <i32> [#uses=0] {vuid=69}
---
> %0 = tail call i32 (...)* %pf() nounwind ; <i32> [#uses=0] {vuid=56}
....................................
(The -IR-DUMP :ALL is a debugging option I use, that dum...
2009 May 19
0
[LLVMdev] how to get a deterministic execution
On Mon, May 18, 2009 at 8:33 PM, dan mihai <dnmh68 at hotmail.com> wrote:
> Hello,
>
Yo!
> For debugging purposes, I've added a unique id member to the Value class:
>
> global_next_vuid = 0;
> Value::Value(..){
> vuid = ++global_next_vuid;
> }
>
> My hope is that by looking at the vuid of a Value, I can see its vuid,
> set a conditional breakpoint and
2009 May 19
2
[LLVMdev] how to get a deterministic execution
Hello,
For debugging purposes, I've added a unique id member to the Value class:
global_next_vuid = 0;
Value::Value(..){
vuid = ++global_next_vuid;
}
My hope is that by looking at the vuid of a Value, I can see its vuid,
set a conditional breakpoint and re-run the compiler to
see who (what pass) constructed that value.
Maybe I am not doing it the right way, but the above 'vuid'