diff options
author | Reid Kleckner <rnk@google.com> | 2017-09-19 18:14:45 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2017-09-19 18:14:45 +0000 |
commit | 26fa1bf4da3cbae98251ebd2db2dcee37b89120c (patch) | |
tree | 47deee79482f2815bd404f2bdb9ac167a3b9cf36 /llvm/unittests/IR/MetadataTest.cpp | |
parent | 0a84b1ac80469b1deb14e3fde332dceeb6f45ad1 (diff) | |
download | bcm5719-llvm-26fa1bf4da3cbae98251ebd2db2dcee37b89120c.tar.gz bcm5719-llvm-26fa1bf4da3cbae98251ebd2db2dcee37b89120c.zip |
Re-land "Fix Bug 30978 by emitting cv file checksums."
This reverts r313431 and brings back r313374 with a fix to write
checksums as binary data and not ASCII hex strings.
llvm-svn: 313657
Diffstat (limited to 'llvm/unittests/IR/MetadataTest.cpp')
-rw-r--r-- | llvm/unittests/IR/MetadataTest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/unittests/IR/MetadataTest.cpp b/llvm/unittests/IR/MetadataTest.cpp index 611b82720e9..3ab0ad430b3 100644 --- a/llvm/unittests/IR/MetadataTest.cpp +++ b/llvm/unittests/IR/MetadataTest.cpp @@ -1383,7 +1383,8 @@ TEST_F(DIFileTest, get) { EXPECT_NE(N, DIFile::get(Context, "other", Directory, CSKind, Checksum)); EXPECT_NE(N, DIFile::get(Context, Filename, "other", CSKind, Checksum)); - EXPECT_NE(N, DIFile::get(Context, Filename, Directory, DIFile::CSK_SHA1, Checksum)); + EXPECT_NE( + N, DIFile::get(Context, Filename, Directory, DIFile::CSK_SHA1, Checksum)); EXPECT_NE(N, DIFile::get(Context, Filename, Directory)); TempDIFile Temp = N->clone(); |