Skip to content

compiling error #13

Description

@freexxxyyy

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:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions