[llvm] r248348 - Add a unit test for r248341.

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 16:42:49 PDT 2015


Author: adrian
Date: Tue Sep 22 18:42:47 2015
New Revision: 248348

URL: http://llvm.org/viewvc/llvm-project?rev=248348&view=rev
Log:
Add a unit test for r248341.

Modified:
    llvm/trunk/unittests/IR/MetadataTest.cpp

Modified: llvm/trunk/unittests/IR/MetadataTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/IR/MetadataTest.cpp?rev=248348&r1=248347&r2=248348&view=diff
==============================================================================
--- llvm/trunk/unittests/IR/MetadataTest.cpp (original)
+++ llvm/trunk/unittests/IR/MetadataTest.cpp Tue Sep 22 18:42:47 2015
@@ -1303,7 +1303,7 @@ TEST_F(DICompileUnitTest, get) {
   MDTuple *Subprograms = getTuple();
   MDTuple *GlobalVariables = getTuple();
   MDTuple *ImportedEntities = getTuple();
-  uint64_t DWOId = 0xc0ffee;
+  uint64_t DWOId = 0x10000000c0ffee;
   auto *N = DICompileUnit::getDistinct(
       Context, SourceLanguage, File, Producer, IsOptimized, Flags,
       RuntimeVersion, SplitDebugFilename, EmissionKind, EnumTypes,




More information about the llvm-commits mailing list