aboutsummaryrefslogtreecommitdiffstats
path: root/unittests/Support/CMakeLists.txt
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2012-09-14 23:15:56 +0000
committerDaniel Dunbar <daniel@zuster.org>2012-09-14 23:15:56 +0000
commit10097bd023acd750cff72a9f422608fce2ad81dd (patch)
tree48bba63f3baec422f07815e8fed2c67518743259 /unittests/Support/CMakeLists.txt
parentd426a642a23a234547cbc7061f5bfec157673249 (diff)
downloadexternal_llvm-10097bd023acd750cff72a9f422608fce2ad81dd.zip
external_llvm-10097bd023acd750cff72a9f422608fce2ad81dd.tar.gz
external_llvm-10097bd023acd750cff72a9f422608fce2ad81dd.tar.bz2
formatted_raw_ostream: Fix a serious bug in tell().
- The current_pos function is supposed to return all the written bytes, not the current position of the underlying stream. - This caused tell() to be broken whenever the underlying stream had buffered content. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163948 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Support/CMakeLists.txt')
-rw-r--r--unittests/Support/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/unittests/Support/CMakeLists.txt b/unittests/Support/CMakeLists.txt
index 3b9bf84..06c5343 100644
--- a/unittests/Support/CMakeLists.txt
+++ b/unittests/Support/CMakeLists.txt
@@ -18,10 +18,11 @@ add_llvm_unittest(SupportTests
ManagedStatic.cpp
MathExtrasTest.cpp
Path.cpp
- raw_ostream_test.cpp
RegexTest.cpp
SwapByteOrderTest.cpp
TimeValue.cpp
ValueHandleTest.cpp
YAMLParserTest.cpp
+ formatted_raw_ostream.cpp
+ raw_ostream_test.cpp
)