summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Transforms
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
commita87ed3cf4cda604347adeb94f811972b013cb3ee (patch)
tree6a627a50cdc25d1fe9d35bf23c033e039af74d58 /llvm/unittests/Transforms
parent2aac07349d548ba67d9ff12f8689ee79c319e3f6 (diff)
downloadbcm5719-llvm-a87ed3cf4cda604347adeb94f811972b013cb3ee.tar.gz
bcm5719-llvm-a87ed3cf4cda604347adeb94f811972b013cb3ee.zip
DebugIRTests: Fixup for r204130.
llvm-svn: 204132
Diffstat (limited to 'llvm/unittests/Transforms')
-rw-r--r--llvm/unittests/Transforms/DebugIR/DebugIR.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Transforms/DebugIR/DebugIR.cpp b/llvm/unittests/Transforms/DebugIR/DebugIR.cpp
index 497dae30cb1..9b89c1593c7 100644
--- a/llvm/unittests/Transforms/DebugIR/DebugIR.cpp
+++ b/llvm/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());
OpenPOWER on IntegriCloud