DebugIRTests: Fixup for r204130.

llvm-svn: 204132
This commit is contained in:
NAKAMURA Takumi 2014-03-18 09:58:28 +00:00
parent cfd1cf2b01
commit fc7fe0c42b

View 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());