Skip to content

Commit

Permalink
[llvm-debuginfo-analyzer] Fix linking errors in buildbots.
Browse files Browse the repository at this point in the history
The tool used the 'old' LLVM build information (LLVMBuild.txt),
which caused linking errors in:

https://lab.llvm.org/buildbot/#/builders/177/builds/10125
https://lab.llvm.org/buildbot/#/builders/196/builds/19699

Update the CMake configuration to support the new LLVM build
system that uses only CMakeLists.txt.

Reviewed By: jryans

Differential Revision: https://reviews.llvm.org/D136159
  • Loading branch information
CarlosAlbertoEnciso committed Oct 18, 2022
1 parent 13816e0 commit b662576
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 33 deletions.
18 changes: 6 additions & 12 deletions llvm/lib/DebugInfo/LogicalView/CMakeLists.txt
@@ -1,14 +1,3 @@
set(LLVM_LINK_COMPONENTS
BinaryFormat
DebugInfoDWARF
DebugInfoCodeView
DebugInfoPDB
Demangle
MC
Object
Support
)

macro(add_lv_impl_folder group)
list(APPEND LV_IMPL_SOURCES ${ARGN})
source_group(${group} FILES ${ARGN})
Expand All @@ -23,9 +12,14 @@ list(APPEND LIBLV_ADDITIONAL_HEADER_DIRS
"${LLVM_MAIN_INCLUDE_DIR}/llvm/DebugInfo/LogicalView/Core"
)

add_llvm_library(LLVMDebugInfoLogicalView
add_llvm_component_library(LLVMDebugInfoLogicalView
${LV_IMPL_SOURCES}

ADDITIONAL_HEADER_DIRS
${LIBLV_ADDITIONAL_HEADER_DIRS}

LINK_COMPONENTS
Object
MC
Support
)
21 changes: 0 additions & 21 deletions llvm/lib/DebugInfo/LogicalView/LLVMBuild.txt

This file was deleted.

0 comments on commit b662576

Please sign in to comment.