Skip to content

Commit

Permalink
[DWARFLinker][NFC] Rename libraries to match with directories name. (l…
Browse files Browse the repository at this point in the history
…lvm#77592)

It was noted that new DWARFLinker libraries do not follow naming
agreement -
llvm#75925 (comment)
This patch rename libraries to match with the agreement.

Rename LLVMDWARFLinkerBase library into the LLVMDWARFLinker. Rename
LLVMDWARFLinker library into the LLVMDWARFLinkerClassic. Correct include
path according to the new directory structure.
  • Loading branch information
avl-llvm authored Jan 12, 2024
1 parent 2798b72 commit 35708b0
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bolt/lib/Rewrite/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ set(LLVM_LINK_COMPONENTS
MC
Object
Support
DWARFLinkerBase
DWARFLinker
DWARFLinkerClassic
AsmPrinter
TargetParser
)
Expand Down
2 changes: 1 addition & 1 deletion llvm/lib/DWARFLinker/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
add_llvm_component_library(LLVMDWARFLinkerBase
add_llvm_component_library(LLVMDWARFLinker
Utils.cpp

ADDITIONAL_HEADER_DIRS
Expand Down
4 changes: 2 additions & 2 deletions llvm/lib/DWARFLinker/Classic/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
add_llvm_component_library(LLVMDWARFLinker
add_llvm_component_library(LLVMDWARFLinkerClassic
DWARFLinkerCompileUnit.cpp
DWARFLinkerDeclContext.cpp
DWARFLinker.cpp
Expand All @@ -16,7 +16,7 @@ add_llvm_component_library(LLVMDWARFLinker
CodeGen
CodeGenTypes
DebugInfoDWARF
DWARFLinkerBase
DWARFLinker
MC
Object
Support
Expand Down
2 changes: 1 addition & 1 deletion llvm/lib/DWARFLinker/Parallel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ add_llvm_component_library(LLVMDWARFLinkerParallel
BinaryFormat
CodeGen
DebugInfoDWARF
DWARFLinkerBase
DWARFLinker
MC
Object
Support
Expand Down
2 changes: 1 addition & 1 deletion llvm/tools/dsymutil/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ set(LLVM_LINK_COMPONENTS
AsmPrinter
CodeGen
CodeGenTypes
DWARFLinkerBase
DWARFLinker
DWARFLinkerClassic
DWARFLinkerParallel
DebugInfoDWARF
MC
Expand Down
2 changes: 1 addition & 1 deletion llvm/tools/llvm-dwarfutil/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ set(LLVM_LINK_COMPONENTS
AllTargetsDescs
AllTargetsInfos
CodeGenTypes
DWARFLinkerBase
DWARFLinker
DWARFLinkerClassic
DWARFLinkerParallel
DebugInfoDWARF
MC
Expand Down
1 change: 1 addition & 0 deletions llvm/unittests/DWARFLinkerParallel/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
set(LLVM_LINK_COMPONENTS
DWARFLinker
DWARFLinkerParallel
Support
)
Expand Down

0 comments on commit 35708b0

Please sign in to comment.