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 TranslatorFuncTy StringsTranslator) { 20 return std::make_unique<DWARFLinkerImpl>(ErrorHandler, WarningHandler, 21 StringsTranslator); 22 } 23