xref: /freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/DWARFLinker.cpp (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1 //=== DWARFLinker.cpp -----------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #include "DWARFLinkerImpl.h"
10 #include "DependencyTracker.h"
11 
12 using namespace llvm;
13 using namespace dwarf_linker;
14 using namespace dwarf_linker::parallel;
15 
16 std::unique_ptr<DWARFLinker>
17 DWARFLinker::createLinker(MessageHandlerTy ErrorHandler,
18                           MessageHandlerTy WarningHandler) {
19   return std::make_unique<DWARFLinkerImpl>(ErrorHandler, WarningHandler);
20 }
21