diff options
author | Eric Beckmann <ecbeckmann@google.com> | 2017-09-15 18:20:28 +0000 |
---|---|---|
committer | Eric Beckmann <ecbeckmann@google.com> | 2017-09-15 18:20:28 +0000 |
commit | de72ac63942faf2e1abd59818c398eecf5659d8c (patch) | |
tree | ec46ac6f9f9ec2fc4232f7d595662d69d9e511c8 /unittests/IR/MetadataTest.cpp | |
parent | 46f3eda2f5c0c84507b0a85c8604c019ed41d447 (diff) |
Fix Bug 30978 by emitting cv file checksums.
Summary:
The checksums had already been placed in the IR, this patch allows
MCCodeView to actually write it out to an MCStreamer.
Subscribers: llvm-commits, hiraditya
Differential Revision: https://reviews.llvm.org/D37157
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313374 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/IR/MetadataTest.cpp')
-rw-r--r-- | unittests/IR/MetadataTest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/unittests/IR/MetadataTest.cpp b/unittests/IR/MetadataTest.cpp index 611b82720e9..3ab0ad430b3 100644 --- a/unittests/IR/MetadataTest.cpp +++ b/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(); |