summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/DebugInfo/PDB/MSFBuilderTest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [MSF] Move MSF unit tests to their own unittest target.Zachary Turner2017-08-021-361/+0
| | | | llvm-svn: 309895
* [gtest] Create a shared include directory for gtest utilities.Zachary Turner2017-06-141-50/+51
| | | | | | | | | | | | | | | | | | | | | | | Many times unit tests for different libraries would like to use the same helper functions for checking common types of errors. This patch adds a common library with helpers for testing things in Support, and introduces helpers in here for integrating the llvm::Error and llvm::Expected<T> classes with gtest and gmock. Normally, we would just be able to write: EXPECT_THAT(someFunction(), succeeded()); but due to some quirks in llvm::Error's move semantics, gmock doesn't make this easy, so two macros EXPECT_THAT_ERROR() and EXPECT_THAT_EXPECTED() are introduced to gloss over the difficulties. Consider this an exception, and possibly only temporary as we look for ways to improve this. Differential Revision: https://reviews.llvm.org/D33059 llvm-svn: 305395
* [PDB] Validate superblock addressesDavid Majnemer2016-12-181-0/+1
| | | | | | | - Validate the address of the block map. - Validate the address of the free block map. llvm-svn: 290053
* [pdb] Fix unit test compilation.Zachary Turner2016-09-141-14/+14
| | | | llvm-svn: 281560
* [msf] Resubmit "Rename Msf -> MSF".Zachary Turner2016-07-291-0/+359
Previously this change was submitted from a Windows machine, so changes made to the case of filenames and directory names did not survive the commit, and as a result the CMake source file names and the on-disk file names did not match on case-sensitive file systems. I'm resubmitting this patch from a Linux system, which hopefully allows the case changes to make it through unfettered. llvm-svn: 277213
OpenPOWER on IntegriCloud