[llvm] r204132 - DebugIRTests: Fixup for r204130.

NAKAMURA Takumi geek4civic at gmail.com
Tue Mar 18 02:58:28 PDT 2014


Author: chapuni
Date: Tue Mar 18 04:58:28 2014
New Revision: 204132

URL: http://llvm.org/viewvc/llvm-project?rev=204132&view=rev
Log:
DebugIRTests: Fixup for r204130.

Modified:
    llvm/trunk/unittests/Transforms/DebugIR/DebugIR.cpp

Modified: llvm/trunk/unittests/Transforms/DebugIR/DebugIR.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Transforms/DebugIR/DebugIR.cpp?rev=204132&r1=204131&r2=204132&view=diff
==============================================================================
--- llvm/trunk/unittests/Transforms/DebugIR/DebugIR.cpp (original)
+++ llvm/trunk/unittests/Transforms/DebugIR/DebugIR.cpp Tue Mar 18 04:58:28 2014
@@ -278,7 +278,7 @@ TEST_F(TestDebugIR, ExistingMetadataReta
   // 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());





More information about the llvm-commits mailing list