[PATCH] D140787: [DWARF][dsymutil][llvm-dwarfutil] Create a placeholder library DWARFLinkerNext
Alexey Lapshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 30 12:27:51 PST 2022
avl created this revision.
avl added reviewers: JDevlieghere, clayborg, aprantl, dblaikie.
Herald added a subscriber: hiraditya.
Herald added a project: All.
avl requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This patch is extracted from D96035 <https://reviews.llvm.org/D96035>. It creates an empty library DWARFLinkerNext.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D140787
Files:
llvm/include/llvm/DWARFLinkerNext/DWARFLinker.h
llvm/lib/CMakeLists.txt
llvm/lib/DWARFLinkerNext/CMakeLists.txt
llvm/lib/DWARFLinkerNext/DWARFLinker.cpp
llvm/tools/dsymutil/CMakeLists.txt
llvm/tools/llvm-dwarfutil/CMakeLists.txt
Index: llvm/tools/llvm-dwarfutil/CMakeLists.txt
===================================================================
--- llvm/tools/llvm-dwarfutil/CMakeLists.txt
+++ llvm/tools/llvm-dwarfutil/CMakeLists.txt
@@ -5,6 +5,7 @@
set(LLVM_LINK_COMPONENTS
DebugInfoDWARF
DWARFLinker
+ DWARFLinkerNext
MC
ObjCopy
Object
Index: llvm/tools/dsymutil/CMakeLists.txt
===================================================================
--- llvm/tools/dsymutil/CMakeLists.txt
+++ llvm/tools/dsymutil/CMakeLists.txt
@@ -9,6 +9,7 @@
AsmPrinter
DebugInfoDWARF
DWARFLinker
+ DWARFLinkerNext
MC
Object
CodeGen
Index: llvm/lib/DWARFLinkerNext/DWARFLinker.cpp
===================================================================
--- /dev/null
+++ llvm/lib/DWARFLinkerNext/DWARFLinker.cpp
@@ -0,0 +1,13 @@
+//=== DWARFLinker.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/DWARFLinkerNext/DWARFLinker.h"
+
+namespace llvm {
+namespace dwarflinker {} // end of namespace dwarflinker
+} // namespace llvm
Index: llvm/lib/DWARFLinkerNext/CMakeLists.txt
===================================================================
--- /dev/null
+++ llvm/lib/DWARFLinkerNext/CMakeLists.txt
@@ -0,0 +1,18 @@
+add_llvm_component_library(LLVMDWARFLinkerNext
+ DWARFLinker.cpp
+
+ ADDITIONAL_HEADER_DIRS
+ ${LLVM_MAIN_INCLUDE_DIR}/llvm/DWARFLinkerNext
+
+ DEPENDS
+ intrinsics_gen
+
+ LINK_COMPONENTS
+ BinaryFormat
+ DebugInfoDWARF
+ AsmPrinter
+ CodeGen
+ MC
+ Object
+ Support
+)
Index: llvm/lib/CMakeLists.txt
===================================================================
--- llvm/lib/CMakeLists.txt
+++ llvm/lib/CMakeLists.txt
@@ -14,6 +14,7 @@
add_subdirectory(Bitcode)
add_subdirectory(Bitstream)
add_subdirectory(DWARFLinker)
+add_subdirectory(DWARFLinkerNext)
add_subdirectory(Extensions)
add_subdirectory(Frontend)
add_subdirectory(Transforms)
Index: llvm/include/llvm/DWARFLinkerNext/DWARFLinker.h
===================================================================
--- /dev/null
+++ llvm/include/llvm/DWARFLinkerNext/DWARFLinker.h
@@ -0,0 +1,16 @@
+//===- DWARFLinker.h --------------------------------------------*- C++ -*-===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_DWARFLINKERNEXT_DWARFLINKER_H
+#define LLVM_DWARFLINKERNEXT_DWARFLINKER_H
+
+namespace llvm {
+namespace dwarflinker {} // end namespace dwarflinker
+} // end namespace llvm
+
+#endif // LLVM_DWARFLINKERNEXT_DWARFLINKER_H
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140787.485722.patch
Type: text/x-patch
Size: 3018 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221230/34658642/attachment.bin>
More information about the llvm-commits
mailing list