mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
d0898f1565
These were originally submitted as part of r228428, but this part caused a build breakage in LLVMConfig. The library portion was resubmitted independently since it was not causing breakage. There were two reasons this was causing the build to fail. The first is that there were no Makefiles added for the PDB tests. And the second is that the DebugInfoPDB library was only being built by CMake behind an "if (MSVC)" check. This is wrong since this the library hides platform specific details, and it was causing LLVM-Config to not find the library when trying to build unittests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228482 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
162 B
CMake
12 lines
162 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
DebugInfoDWARF
|
|
)
|
|
|
|
set(DebugInfoSources
|
|
DWARFFormValueTest.cpp
|
|
)
|
|
|
|
add_llvm_unittest(DebugInfoDWARFTests
|
|
${DebugInfoSources}
|
|
)
|