Skip to content
  1. Oct 23, 2017
    • Mitch Phillips's avatar
      Graph builder implementation. · 99fa1405
      Mitch Phillips authored
      Implement a localised graph builder for indirect control flow
      instructions. Main interface is through GraphBuilder::buildFlowGraph,
      which will build a flow graph around an indirect CF instruction. Various
      modifications to FileVerifier are also made to const-expose some members
      needed for machine code analysis done by the graph builder.
      
      Reviewers: vlad.tsyrklevich
      
      Reviewed By: vlad.tsyrklevich
      
      Subscribers: llvm-commits, kcc, pcc
      
      Differential Revision: https://reviews.llvm.org/D38427
      
      llvm-svn: 316372
      99fa1405
    • Mitch Phillips's avatar
      Accidently merged an incomplete upstream patch in... · e140b3d1
      Mitch Phillips authored
      Accidently merged an incomplete upstream patch in 10e6ee563a6b5ca498f27972ca6dbe6c308f1ac2 - reverting the changes.
      
      llvm-svn: 316359
      e140b3d1
    • Mitch Phillips's avatar
      Patch in · f91a31b7
      Mitch Phillips authored
      llvm-svn: 316358
      f91a31b7
  2. Oct 18, 2017
    • Vlad Tsyrklevich's avatar
      Statically link llvm-cfi-verify's libraries. · 4dc1c973
      Vlad Tsyrklevich authored
      Summary:
      llvm-cfi-verify (D38379) introduced a potential build failure when compiling with `-DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON`. Specific versions of cmake seem to treat the `add_subdirectory()` rule differently. It seems as if old versions of cmake BFS these rules, adding them to the fringe for expansion later. Newer versions of cmake seem to immediately execute CMakeFiles that are present in this subdirectory.
      
      If the subdirectory is expanded through the fringe, the globbing resultant from `llvm_add_implicit_projects()` from `cmake/modules/AddLLVM.cmake:1012` means that `tools/llvm-shlib/CMakeFile.txt` gets executed before `tools/llvm-cfi-verify/lib/CMakeFile.txt`. As the latter CMakeFile adds a new library, this expansion order means that the library files required the unit tests in `unittests/tools/llvm-cfi-verify/` are not present in the dynamic library. This causes unit tests to fail as the required functions can't be found.
      
      This change now ensures that the libraries created by `llvm-cfi-verify` are statically linked into the unit tests. As `tools/llvm-cfi-verify/lib` no longer adds anything to `llvm-shlib`, there should be no concern about the order-of-compilation.
      
      Reviewers: skatkov, pcc
      
      Reviewed By: skatkov, pcc
      
      Subscribers: llvm-commits, kcc, pcc, aheejin, vlad.tsyrklevich, mgorny
      
      Differential Revision: https://reviews.llvm.org/D39020
      
      llvm-svn: 316059
      4dc1c973
  3. Oct 11, 2017
Loading