summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2014-03-18 09:58:28 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2014-03-18 09:58:28 +0000
commit99ffa5c0f404d19ed99b9a9473ff1345ccd40d78 (patch)
tree2585432c870e2201e901b3d2f4354633f16b5c6e /unittests
parentf7a8108a6da85b8cd20d095e7577d881d4a76c3f (diff)
downloadllvm-99ffa5c0f404d19ed99b9a9473ff1345ccd40d78.tar.gz
llvm-99ffa5c0f404d19ed99b9a9473ff1345ccd40d78.tar.bz2
llvm-99ffa5c0f404d19ed99b9a9473ff1345ccd40d78.tar.xz
DebugIRTests: Fixup for r204130.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204132 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/Transforms/DebugIR/DebugIR.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Transforms/DebugIR/DebugIR.cpp b/unittests/Transforms/DebugIR/DebugIR.cpp
index 497dae30cb..9b89c1593c 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());