xref: /freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/DWARFLinker.cpp (revision 0fca6ea1d4eea4c934cfff25ac9ee8ad6fe95583)
11db9f3b2SDimitry Andric //=== DWARFLinker.cpp -----------------------------------------------------===//
21db9f3b2SDimitry Andric //
31db9f3b2SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
41db9f3b2SDimitry Andric // See https://llvm.org/LICENSE.txt for license information.
51db9f3b2SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
61db9f3b2SDimitry Andric //
71db9f3b2SDimitry Andric //===----------------------------------------------------------------------===//
81db9f3b2SDimitry Andric 
91db9f3b2SDimitry Andric #include "DWARFLinkerImpl.h"
101db9f3b2SDimitry Andric #include "DependencyTracker.h"
111db9f3b2SDimitry Andric 
121db9f3b2SDimitry Andric using namespace llvm;
131db9f3b2SDimitry Andric using namespace dwarf_linker;
141db9f3b2SDimitry Andric using namespace dwarf_linker::parallel;
151db9f3b2SDimitry Andric 
161db9f3b2SDimitry Andric std::unique_ptr<DWARFLinker>
createLinker(MessageHandlerTy ErrorHandler,MessageHandlerTy WarningHandler)171db9f3b2SDimitry Andric DWARFLinker::createLinker(MessageHandlerTy ErrorHandler,
18*0fca6ea1SDimitry Andric                           MessageHandlerTy WarningHandler) {
19*0fca6ea1SDimitry Andric   return std::make_unique<DWARFLinkerImpl>(ErrorHandler, WarningHandler);
201db9f3b2SDimitry Andric }
21