search for: pointed_to_function2

Displaying 3 results from an estimated 3 matches for "pointed_to_function2".

Did you mean: pointed_to_function1
2009 May 19
1
[LLVMdev] how to get a deterministic execution
...s an instruction in main, while in the 2nd case is an instruction in a different function. My particular issue is that I want to see when the following instruction is created: %pf1.0 = select i1 %0, i32 (...)* bitcast (i32 ()* @pointed_to_function1 to i32 (...)*), i32 (...)* bitcast (i32 ()* @pointed_to_function2 to i32 (...)*) ; <i32 (...)*> [#uses=2] {vuid=67} So, I assume it is the 67-th Value, set a conditional breakpoint and restart the program. But this fails, because the second time it is the 55-th value created: %pf1.0 = select i1 %0, i32 (...)* bitcast (i32 ()* @pointed_to_functi...
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'