From: NAKAMURA Takumi Date: Tue, 18 Mar 2014 09:58:28 +0000 (+0000) Subject: DebugIRTests: Fixup for r204130. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=99ffa5c0f404d19ed99b9a9473ff1345ccd40d78;p=oota-llvm.git DebugIRTests: Fixup for r204130. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204132 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/Transforms/DebugIR/DebugIR.cpp b/unittests/Transforms/DebugIR/DebugIR.cpp index 497dae30cb1..9b89c1593c7 100644 --- a/unittests/Transforms/DebugIR/DebugIR.cpp +++ b/unittests/Transforms/DebugIR/DebugIR.cpp @@ -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());