aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/DWARFLinkerParallel/DWARFFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/DWARFLinkerParallel/DWARFFile.cpp')
-rw-r--r--llvm/lib/DWARFLinkerParallel/DWARFFile.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/llvm/lib/DWARFLinkerParallel/DWARFFile.cpp b/llvm/lib/DWARFLinkerParallel/DWARFFile.cpp
new file mode 100644
index 000000000000..5a3486e6398d
--- /dev/null
+++ b/llvm/lib/DWARFLinkerParallel/DWARFFile.cpp
@@ -0,0 +1,17 @@
+//=== DWARFFile.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/DWARFLinkerParallel/DWARFFile.h"
+#include "DWARFLinkerGlobalData.h"
+
+llvm::dwarflinker_parallel::DWARFFile::DWARFFile(
+ StringRef Name, std::unique_ptr<DWARFContext> Dwarf,
+ std::unique_ptr<AddressesMap> Addresses,
+ DWARFFile::UnloadCallbackTy UnloadFunc)
+ : FileName(Name), Dwarf(std::move(Dwarf)), Addresses(std::move(Addresses)),
+ UnloadFunc(UnloadFunc) {}