search for: pointed_to_function0

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

Did you mean: pointed_to_function1
2009 Oct 02
1
[LLVMdev] alias analysis and functions
...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_function_caller(PF pf) { printf("ptr_function_caller\n"); pf(); PF lpf0 = pointed_to_fun...