The FinalizeContinuation typedef belongs on the Allocation class, not the
allocator.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359510
91177308-0d34-0410-b5e6-
96231b3b80d8
using SegmentsRequestMap = DenseMap<unsigned, SegmentRequest>;
- using FinalizeContinuation = std::function<void(Error)>;
-
/// Represents an allocation created by the memory manager.
///
/// An allocation object is responsible for allocating and owning jit-linker
///
class Allocation {
public:
+
+ using FinalizeContinuation = std::function<void(Error)>;
+
virtual ~Allocation();
/// Should return the address of linker working memory for the segment with