The JITMemoryManager class was removed from MCJIT in r218316, but LLDB is still relying on it.
The attached patch moves the JITMemoryManager in to LLDB (minus the AtExit handler functionality, which I don’t believe LLDB was using, and which was causing build warnings for me locally).
I’m still running the test suite locally, so I’m sure whether this passes all the tests, but it does at least seem to get LLDB building again.
I’ll update with test results as soon as they come through.
I just had a look at Tong’s patch - that definitely looks like a better way to go. I had assumed that LLDB was actually using JITMemoryManager’s functionality (given that it was being forwarded to), but since that’s not the case it makes much more sense to just switch to SectionMemoryManager.