[Sanitizer] Add internal_isatty to sanitizer_libc and PrintsToTty to determine whethe...
authorAlexey Samsonov <samsonov@google.com>
Fri, 2 Nov 2012 15:18:34 +0000 (15:18 +0000)
committerAlexey Samsonov <samsonov@google.com>
Fri, 2 Nov 2012 15:18:34 +0000 (15:18 +0000)
commit58358897a3cff212d6dd618286175ac2e82841a0
treef4493e99526a23f7514cd8183704da062da053e3
parentf7a24c4e2b9eb815b6e020737aeaa3dbc2b2bded
[Sanitizer] Add internal_isatty to sanitizer_libc and PrintsToTty to determine whether error reports are printed to terminal

llvm-svn: 167298
compiler-rt/lib/sanitizer_common/sanitizer_common.cc
compiler-rt/lib/sanitizer_common/sanitizer_common.h
compiler-rt/lib/sanitizer_common/sanitizer_libc.h
compiler-rt/lib/sanitizer_common/sanitizer_posix.cc
compiler-rt/lib/sanitizer_common/sanitizer_win.cc