Displaying 2 results from an estimated 2 matches for "realfunc".
2012 Oct 11
2
[LLVMdev] Function aliases in CallGraph
Hello, I have a simple program using aliases to functions, and it seems
that the CallGraph doesn't follow these aliases. Here is the example:
@alias = alias void ()* @realfunc
define void @realfunc() {
entry:
ret void
}
define i32 @main() {
entry:
call void @alias()
ret i32 0
}
******* Output of the CallGraph *******
Call graph node <<null function>><<0xbe64c0>> #uses=0
CS<0x0> calls function 'realfunc'
CS<0x0> c...
2012 Oct 11
0
[LLVMdev] Function aliases in CallGraph
On Thu, Oct 11, 2012 at 3:56 PM, Stephen Schiffli <sschiffli at gmail.com> wrote:
> Hello, I have a simple program using aliases to functions, and it seems that
> the CallGraph doesn't follow these aliases. Here is the example:
>
> @alias = alias void ()* @realfunc
>
> define void @realfunc() {
> entry:
> ret void
> }
>
> define i32 @main() {
> entry:
> call void @alias()
> ret i32 0
> }
>
> ******* Output of the CallGraph *******
>
> Call graph node <<null function>><<0xbe64c0>> #use...