diff options
author | Amjad Aboud <amjad.aboud@intel.com> | 2016-12-25 10:12:27 +0000 |
---|---|---|
committer | Amjad Aboud <amjad.aboud@intel.com> | 2016-12-25 10:12:27 +0000 |
commit | e2aab8c30cf3fd2ce3445e02d8b6eea375cb9f28 (patch) | |
tree | 15bdda9a259d14e3f97cb59b0d6c91b56bef3573 /clang/test/CodeGen/debug-info-file-checksum.c | |
parent | 7faeecc8f78c31c24c32a9c2e468e840e1b0a15d (diff) | |
download | bcm5719-llvm-e2aab8c30cf3fd2ce3445e02d8b6eea375cb9f28.tar.gz bcm5719-llvm-e2aab8c30cf3fd2ce3445e02d8b6eea375cb9f28.zip |
[DebugInfo] Added support for Checksum debug info feature.
Differential Revision: https://reviews.llvm.org/D27641
llvm-svn: 290515
Diffstat (limited to 'clang/test/CodeGen/debug-info-file-checksum.c')
-rw-r--r-- | clang/test/CodeGen/debug-info-file-checksum.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/CodeGen/debug-info-file-checksum.c b/clang/test/CodeGen/debug-info-file-checksum.c new file mode 100644 index 00000000000..2750800d41e --- /dev/null +++ b/clang/test/CodeGen/debug-info-file-checksum.c @@ -0,0 +1,5 @@ +// RUN: %clang -emit-llvm -S -g -gcodeview -x c %S/Inputs/debug-info-file-checksum.c -o - | FileCheck %s + +// Check that "checksum" is created correctly for the compiled file. + +// CHECK: !DIFile(filename:{{.*}}, directory:{{.*}}, checksumkind: CSK_MD5, checksum: "a3b7d27af071accdeccaa933fc603608") |