Don't print debugging messages to stdout.
authorEd Schouten <ed@nuxi.nl>
Thu, 19 Mar 2015 09:17:21 +0000 (09:17 +0000)
committerEd Schouten <ed@nuxi.nl>
Thu, 19 Mar 2015 09:17:21 +0000 (09:17 +0000)
commitd0c480b04c60d0288a44f56aa0d4e48d6bccf63f
treea8834407fa1bf844f0cd65de05dfbd2bb48bd249
parentaa27aadb14065375446299f34f7e86ceb5fddf5e
Don't print debugging messages to stdout.

There is some debugging code in cxa_demangle.cpp that prints messages on
stdout. In general this is not safe, as the program itself may use
stdout to write its output. Change this code to write to stderr.

Differential Revision: http://reviews.llvm.org/D8167

llvm-svn: 232716
libcxxabi/src/cxa_demangle.cpp