summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/Path.cpp
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-12-01 22:28:42 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-12-01 22:28:42 +0000
commit75942f9d93d52e4b5cd07b5bbf50a433477755ad (patch)
tree798b09435144d34f892b4feba04bd92e064b5943 /llvm/unittests/Support/Path.cpp
parentc5bea1e337fb36e022a89ccdbdd655b90d8f8cb5 (diff)
downloadbcm5719-llvm-75942f9d93d52e4b5cd07b5bbf50a433477755ad.tar.gz
bcm5719-llvm-75942f9d93d52e4b5cd07b5bbf50a433477755ad.zip
Make valgrind happy.
llvm-svn: 120616
Diffstat (limited to 'llvm/unittests/Support/Path.cpp')
-rw-r--r--llvm/unittests/Support/Path.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/unittests/Support/Path.cpp b/llvm/unittests/Support/Path.cpp
index dd831f90727..a3d96ecf340 100644
--- a/llvm/unittests/Support/Path.cpp
+++ b/llvm/unittests/Support/Path.cpp
@@ -87,6 +87,7 @@ TEST(Support, Path) {
}
outs() << "]\n";
+#if 0 // Valgrind is whining about this.
outs() << " Reverse Iteration: [";
for (sys::path::reverse_iterator ci = sys::path::rbegin(*i),
ce = sys::path::rend(*i);
@@ -95,6 +96,7 @@ TEST(Support, Path) {
outs() << *ci << ',';
}
outs() << "]\n";
+#endif
bool bres;
StringRef sfres;
OpenPOWER on IntegriCloud