[all-commits] [llvm/llvm-project] b9d8e2: [JITLink] Add a utility for splitting blocks at a ...

lhames via All-commits all-commits at lists.llvm.org
Wed Oct 30 12:36:15 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b9d8e23b806ca605c368f924cca75bdd090834c6
      https://github.com/llvm/llvm-project/commit/b9d8e23b806ca605c368f924cca75bdd090834c6
  Author: Lang Hames <lhames at gmail.com>
  Date:   2019-10-30 (Wed, 30 Oct 2019)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h
    M llvm/lib/ExecutionEngine/JITLink/JITLink.cpp
    M llvm/unittests/ExecutionEngine/JITLink/CMakeLists.txt
    A llvm/unittests/ExecutionEngine/JITLink/LinkGraphTests.cpp

  Log Message:
  -----------
  [JITLink] Add a utility for splitting blocks at a given index.

LinkGraph::splitBlock will split a block at a given index, returning a new
block covering the range [ 0, index ) and modifying the original block to
cover the range [ index, original-block-size ). Block addresses, content,
edges and symbols will be updated as necessary. This utility will be used
in upcoming improvements to JITLink's eh-frame support.




More information about the All-commits mailing list