Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [ORC] Add a 'plugin' interface to ObjectLinkingLayer for events/configuration. | Lang Hames | 2019-04-26 | 1 | -4/+5 |
| | | | | | | | | | | | | | ObjectLinkingLayer::Plugin provides event notifications when objects are loaded, emitted, and removed. It also provides a modifyPassConfig callback that allows plugins to modify the JITLink pass configuration. This patch moves eh-frame registration into its own plugin, and teaches llvm-jitlink to only add that plugin when performing execution runs on non-Windows platforms. This should allow us to re-enable the test case that was removed in r359198. llvm-svn: 359357 | ||||
* | [JITLink] Refer to FDE's CIE (not the most recent CIE) when parsing eh-frame. | Lang Hames | 2019-04-24 | 1 | -12/+19 |
| | | | | | | | | | | | | | | | Frame Descriptor Entries (FDEs) have a pointer back to a Common Information Entry (CIE) that describes how the rest FDE should be parsed. JITLink had been assuming that FDEs always referred to the most recent CIE encountered, but the spec allows them to point back to any previously encountered CIE. This patch fixes JITLink to look up the correct CIE for the FDE. The testcase is a MachO binary with an FDE that refers to a CIE that is not the one immediately proceeding it (the layout can be viewed wit 'dwarfdump --eh-frame <testcase>'. This test case had to be a binary as llvm-mc now sorts FDEs (as of r356216) to ensure FDEs *do* point to the most recent CIE. llvm-svn: 359105 | ||||
* | [JITLink] Remove a lot of reduntant 'JITLink_' prefixes. NFC. | Lang Hames | 2019-04-22 | 1 | -0/+533 |
llvm-svn: 358869 |