From a54b7ddb25bda65696b7c2af8b5edab6ca85445c Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Sun, 22 Feb 2015 06:47:32 +0000 Subject: [llvm-pdbdump] Resubmit "Add some tests for llvm-pdbdump". NOTE: This patch intentionally breaks the build. It attempts to resubmit r230083, but with some debug logging in the CMake and lit config files to determine why certain bots do not correctly disable the DIA tests when DIA is not available. After a sufficient number of bots fail, this patch will either be reverted or, if the cause of the failure becomes obvious, a fix submitted with the log statements removed. llvm-svn: 230161 --- llvm/test/DebugInfo/PDB/Inputs/empty.cpp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 llvm/test/DebugInfo/PDB/Inputs/empty.cpp (limited to 'llvm/test/DebugInfo/PDB/Inputs/empty.cpp') diff --git a/llvm/test/DebugInfo/PDB/Inputs/empty.cpp b/llvm/test/DebugInfo/PDB/Inputs/empty.cpp new file mode 100644 index 00000000000..6021aca7bfc --- /dev/null +++ b/llvm/test/DebugInfo/PDB/Inputs/empty.cpp @@ -0,0 +1,7 @@ +// Build with "cl.exe /Zi empty.cpp /link /debug /nodefaultlib /entry:main" + +void *__purecall = 0; + +int main() { + return 42; +} -- cgit v1.2.3