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)
commitd0898f1565b276c30ff396559cbb60b367aa2469
tree65ec2e5ee755ebe733cd62b9eca5b1c8d5ff54da
parentcd040942669e9955197a5b59986655cde8a46c01
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228482 91177308-0d34-0410-b5e6-96231b3b80d8
lib/DebugInfo/CMakeLists.txt
unittests/DebugInfo/CMakeLists.txt
unittests/DebugInfo/DWARF/CMakeLists.txt [new file with mode: 0644]
unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp [new file with mode: 0644]
unittests/DebugInfo/DWARF/Makefile [new file with mode: 0644]
unittests/DebugInfo/DWARFFormValueTest.cpp [deleted file]
unittests/DebugInfo/Makefile
unittests/DebugInfo/PDB/CMakeLists.txt [new file with mode: 0644]
unittests/DebugInfo/PDB/Makefile [new file with mode: 0644]
unittests/DebugInfo/PDB/PDBApiTest.cpp [new file with mode: 0644]