summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ExecutionEngine/JITLink/LinkGraphTests.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [unittests] Fix "comparison of integers of different signs" warningsMiloš Stojanović2020-01-141-5/+4
| | | | | | | | A warning is sent because `std::distance()` returns a signed type so `CmpHelperEQ()` gets instantiated into a function that compares differently signed arguments. Differential Revision: https://reviews.llvm.org/D72632
* [JITLink] Move block ownership from LinkGraph to Section.Lang Hames2019-10-301-3/+57
| | | | This enables easy iteration over blocks in a specific section.
* [JITLink] Add missing include, explicitly qualify STLExtras functions.Lang Hames2019-10-301-6/+7
| | | | | This should fix the failures on some bots due to commit b9d8e23b806ca605c368f924cca75bdd090834c6.
* [JITLink] Add a utility for splitting blocks at a given index.Lang Hames2019-10-301-0/+120
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.
OpenPOWER on IntegriCloud