Resubmit unittests for DebugInfoPDB.
authorZachary Turner <zturner@google.com>
Sat, 7 Feb 2015 01:47:14 +0000 (01:47 +0000)
committerZachary Turner <zturner@google.com>
Sat, 7 Feb 2015 01:47:14 +0000 (01:47 +0000)
commit94269a4db35f092b5ea100b7b5ecabaea281a181
tree4398a8506f508e096c910dd3ae33b53d3eef18eb
parent2177fc17320902313e3ec43c64fe51d51c6b1f97
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
llvm/lib/DebugInfo/CMakeLists.txt
llvm/unittests/DebugInfo/CMakeLists.txt
llvm/unittests/DebugInfo/DWARF/CMakeLists.txt [new file with mode: 0644]
llvm/unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp [moved from llvm/unittests/DebugInfo/DWARFFormValueTest.cpp with 100% similarity]
llvm/unittests/DebugInfo/DWARF/Makefile [new file with mode: 0644]
llvm/unittests/DebugInfo/Makefile
llvm/unittests/DebugInfo/PDB/CMakeLists.txt [new file with mode: 0644]
llvm/unittests/DebugInfo/PDB/Makefile [new file with mode: 0644]
llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp [new file with mode: 0644]