Skip to content

Commit 3f85170

Browse files
committedOct 2, 2017
Move new lld's code to Common subdirectory.
New lld's files are spread under lib subdirectory, and it isn't easy to find which files are actually maintained. This patch moves maintained files to Common subdirectory. Differential Revision: https://reviews.llvm.org/D37645 llvm-svn: 314719
1 parent e2ff2ba commit 3f85170

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+94
-91
lines changed
 

‎lld/CMakeLists.txt

+3-2
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ endif ()
160160

161161
# Configure the Version.inc file.
162162
configure_file(
163-
${CMAKE_CURRENT_SOURCE_DIR}/include/lld/Config/Version.inc.in
164-
${CMAKE_CURRENT_BINARY_DIR}/include/lld/Config/Version.inc)
163+
${CMAKE_CURRENT_SOURCE_DIR}/include/lld/Common/Version.inc.in
164+
${CMAKE_CURRENT_BINARY_DIR}/include/lld/Common/Version.inc)
165165

166166

167167
if (CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR)
@@ -210,6 +210,7 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
210210
)
211211
endif()
212212

213+
add_subdirectory(Common)
213214
add_subdirectory(lib)
214215
add_subdirectory(tools/lld)
215216

‎lld/COFF/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ add_lld_library(lldCOFF
4242
WindowsManifest
4343

4444
LINK_LIBS
45+
lldCommon
4546
lldCore
4647
${LLVM_PTHREAD_LIB}
4748

0 commit comments

Comments
 (0)