search for: try_calls_aliases

Displaying 1 result from an estimated 1 matches for "try_calls_aliases".

2009 Oct 02
1
[LLVMdev] alias analysis and functions
...as analysis (Anderson) and noticed that for pointers to functions I don't get the expected result: a pointer that clearly may point to a function is reported as NoAlias. I use -anders-aa -aa-eval -print-no-aliases -print-may-aliases -print-must-aliases Here is a test case: ///////////////try_calls_aliases.c #include <stdio.h> typedef int (*PF)(); PF pf01=0; PF pf2=0; int pointed_to_function0() { printf("pointed_to_function0\n"); return 1; } int pointed_to_function1() { pf01 = pointed_to_function1; printf("pointed_to_function1\n"); return 1; } void ptr_functi...