blob: 1fa4bd7088f115ff39a6e33971e1ac8a23fd8397 [file] [edit]
//===-------------------------- JITLinkDylib.cpp --------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#include "llvm/ExecutionEngine/JITLink/JITLinkDylib.h"
#include "llvm/ExecutionEngine/JITLink/JITLinkMemoryManager.h"
namespace llvm::jitlink {
JITLinkDylib::~JITLinkDylib() {
for (JITLinkMemoryManager *MemMgr : ToNotifyOnDestruction)
MemMgr->notifyDestroying(*this);
}
} // namespace llvm::jitlink