llvm-project/llvm/lib/ExecutionEngine/JITLink
Lang Hames 3181b87cb6 [JITLink] Make sure we explicitly deallocate memory on failure.
JITLinkGeneric phases 2 and 3 (focused on applying fixups and finalizing memory,
respectively) may fail for various reasons. If this happens, we need to
explicitly de-allocate the memory allocated in phase 1 (explicitly, because
deallocation may also fail and so is implemented as a method returning error).

No testcase yet: I am still trying to decide on the right way to test totally
platform agnostic code like this.

llvm-svn: 359643
2019-05-01 02:43:52 +00:00
..
BasicGOTAndStubsBuilder.h [JITLink] Factor basic common GOT and stub creation code into its own class. 2019-04-21 03:14:42 +00:00
CMakeLists.txt [JITLink] Remove a lot of reduntant 'JITLink_' prefixes. NFC. 2019-04-22 03:03:09 +00:00
EHFrameSupport.cpp [ORC] Add a 'plugin' interface to ObjectLinkingLayer for events/configuration. 2019-04-26 22:58:39 +00:00
EHFrameSupportImpl.h [JITLink] Refer to FDE's CIE (not the most recent CIE) when parsing eh-frame. 2019-04-24 15:15:55 +00:00
JITLink.cpp [JITLink] Remove a lot of reduntant 'JITLink_' prefixes. NFC. 2019-04-22 03:03:09 +00:00
JITLinkGeneric.cpp [JITLink] Make sure we explicitly deallocate memory on failure. 2019-05-01 02:43:52 +00:00
JITLinkGeneric.h [JITLink] Make sure we explicitly deallocate memory on failure. 2019-05-01 02:43:52 +00:00
LLVMBuild.txt [JITLink] Add BinaryFormat to JITLink's dependencies. 2019-04-20 19:48:45 +00:00
MachO.cpp [ORC][JITLink] Name in-memory compiled objects after their source modules. 2019-04-30 21:27:56 +00:00
MachOAtomGraphBuilder.cpp
MachOAtomGraphBuilder.h
MachO_x86_64.cpp Fix MSVC "32-bit shift implicitly converted to 64 bits" warning. NFCI. 2019-04-23 11:16:16 +00:00