Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiling error #13

Open
freexxxyyy opened this issue Apr 25, 2022 · 0 comments
Open

compiling error #13

freexxxyyy opened this issue Apr 25, 2022 · 0 comments

Comments

@freexxxyyy
Copy link

when it is compiled under llvm14, there is a error. How should fix it?

/home/xli399/libs/program-dependence-graph/src/DataDependencyGraph.cpp: In member function ‘void pdg::DataDependencyGraph::addAliasEdges(llvm::Instruction&)’:
/home/xli399/libs/program-dependence-graph/src/DataDependencyGraph.cpp:44:25: error: ‘NoAlias’ was not declared in this scope
   44 |     if (alias_result != NoAlias)
      |                         ^~~~~~~
/home/xli399/libs/program-dependence-graph/src/DataDependencyGraph.cpp: In member function ‘llvm::AliasResult pdg::DataDependencyGraph::queryAliasUnderApproximate(llvm::Value&, llvm::Value&)’:
/home/xli399/libs/program-dependence-graph/src/DataDependencyGraph.cpp:97:12: error: ‘NoAlias’ was not declared in this scope
   97 |     return NoAlias;
      |            ^~~~~~~
/home/xli399/libs/program-dependence-graph/src/DataDependencyGraph.cpp:102:14: error: ‘MustAlias’ was not declared in this scope
  102 |       return MustAlias;
      |              ^~~~~~~~~
/home/xli399/libs/program-dependence-graph/src/DataDependencyGraph.cpp:115:20: error: ‘MustAlias’ was not declared in this scope
  115 |             return MustAlias;
      |                    ^~~~~~~~~
At global scope:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant