DebugIRTests: Fixup for r204130.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 18 Mar 2014 09:58:28 +0000 (09:58 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 18 Mar 2014 09:58:28 +0000 (09:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204132 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/Transforms/DebugIR/DebugIR.cpp

index 497dae30cb1ea1d5d9a9dba54d45ed64df8aa228..9b89c1593c71665e2921c36e65d4d6e47cb0e8e3 100644 (file)
@@ -278,7 +278,7 @@ TEST_F(TestDebugIR, ExistingMetadataRetained) {
   // verify DebugIR did not generate a file
   ASSERT_FALSE(removeIfExists(Path)) << "Unexpected file " << Path;
 
-  DICompileUnit CU(*Finder.compile_unit_begin());
+  DICompileUnit CU(*Finder.compile_units().begin());
 
   // Verify original CU information is retained
   ASSERT_EQ(Filename, CU.getFilename());