summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-02-07 01:47:14 +0000
committerZachary Turner <zturner@google.com>2015-02-07 01:47:14 +0000
commit94269a4db35f092b5ea100b7b5ecabaea281a181 (patch)
tree4398a8506f508e096c910dd3ae33b53d3eef18eb /llvm/lib
parent2177fc17320902313e3ec43c64fe51d51c6b1f97 (diff)
downloadbcm5719-llvm-94269a4db35f092b5ea100b7b5ecabaea281a181.tar.gz
bcm5719-llvm-94269a4db35f092b5ea100b7b5ecabaea281a181.zip
Resubmit unittests for DebugInfoPDB.
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. llvm-svn: 228482
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/DebugInfo/CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/DebugInfo/CMakeLists.txt b/llvm/lib/DebugInfo/CMakeLists.txt
index 5ab46444531..645d92fef22 100644
--- a/llvm/lib/DebugInfo/CMakeLists.txt
+++ b/llvm/lib/DebugInfo/CMakeLists.txt
@@ -1,5 +1,4 @@
add_subdirectory(DWARF)
-if (MSVC)
- add_subdirectory(PDB)
-endif() \ No newline at end of file
+add_subdirectory(PDB)
+
OpenPOWER on IntegriCloud