diff options
author | Zachary Turner <zturner@google.com> | 2015-02-20 23:05:57 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2015-02-20 23:05:57 +0000 |
commit | d1b1136e0e84bdeac1981bf9b52f300f7743f8ab (patch) | |
tree | 2f2c60d4c79307ec2670e547c6a4c087d5e2c7ea /llvm/test/DebugInfo/PDB/Inputs/empty.cpp | |
parent | 2da9cd26d679180fa6c730e185ff2808be353bb4 (diff) | |
download | bcm5719-llvm-d1b1136e0e84bdeac1981bf9b52f300f7743f8ab.tar.gz bcm5719-llvm-d1b1136e0e84bdeac1981bf9b52f300f7743f8ab.zip |
[llvm-pdbdump] Add some tests for llvm-pdbdump.
This adds only a very basic set of tests that dump a few
functions and object files.
Differential Revision: http://reviews.llvm.org/D7656
Reviewed By: David Blaikie
llvm-svn: 230083
Diffstat (limited to 'llvm/test/DebugInfo/PDB/Inputs/empty.cpp')
-rw-r--r-- | llvm/test/DebugInfo/PDB/Inputs/empty.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/DebugInfo/PDB/Inputs/empty.cpp b/llvm/test/DebugInfo/PDB/Inputs/empty.cpp new file mode 100644 index 00000000000..f27ea18832e --- /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;
+}
|