c++ - Using AliasAnalysis interproceduraly in clang 3.3.1 -


i working on project extending clang 3.3.1 .

i use aliasanalysis class , not sure, if missing something. when ask aa, if memory locations in different functions alias, clang crashes following error: "basicaliasanalysis doesn't support interprocedural queries." guess, might solution, use different kind of analysis, not able figure out how in code. suggestions? :)

there isn't interprocedural aliasanalysis in llvm yet. part of problem need new api express queries.

consider self-recursive function @f(noalias %x, noalias %y) calls @f(%y, %x). today answer %x noalias %y, true within single call frame. however, if across multiple call frames, can see %x in callee may alias %y in caller, therefore %x , %y in same function may alias. that's core reason why need keep our current api separate interprocedural api.


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -