2 The alias analyzer only considers relations between pointers and
3 symbols. If two pointers P and Q point to the same symbol S, then
4 their respective memory tags will either be the same or they will
5 have S in their alias set.
7 However, if there are no common symbols between P and Q, TBAA will
8 currently miss their alias relationship altogether. */
15 int foo () { return 3; }
23 /* Avoid the partial hack in TBAA that would consider memory tags if
24 the program had no addressable symbols. */
31 /* Store into *locp and cache its current value. */
32 locp
= malloc (sizeof (*locp
));
36 /* Take the address of one of locp's fields and write to it. */
40 /* Read the recently stored value. If TBAA fails, this will appear
41 as a redundant load that will be replaced with '10'. */