Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [unittests] Fix "comparison of integers of different signs" warnings | Miloš Stojanović | 2020-01-14 | 1 | -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 Hames | 2019-10-30 | 1 | -3/+57 |
| | | | | This enables easy iteration over blocks in a specific section. | ||||
* | [JITLink] Add missing include, explicitly qualify STLExtras functions. | Lang Hames | 2019-10-30 | 1 | -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 Hames | 2019-10-30 | 1 | -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. |