summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-06-20 14:19:10 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-06-20 14:19:10 +0000
commitca692609d0547908b95e884b881a6bb2f985126b (patch)
treea21259dbfd0a1ff9a905cc4924117c6ba89c65db /llvm/lib/Support
parentbbb758577f0acac2f5c3481c41824dc44a4e426b (diff)
downloadbcm5719-llvm-ca692609d0547908b95e884b881a6bb2f985126b.tar.gz
bcm5719-llvm-ca692609d0547908b95e884b881a6bb2f985126b.zip
Remove MSan hack that is no longer needed.
llvm-svn: 184428
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r--llvm/lib/Support/Unix/Process.inc2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Support/Unix/Process.inc b/llvm/lib/Support/Unix/Process.inc
index 9a4454f1c65..1335b78e86b 100644
--- a/llvm/lib/Support/Unix/Process.inc
+++ b/llvm/lib/Support/Unix/Process.inc
@@ -224,8 +224,6 @@ static unsigned getColumns(int FileID) {
#if defined(HAVE_SYS_IOCTL_H) && defined(HAVE_TERMIOS_H)
// Try to determine the width of the terminal.
struct winsize ws;
- // Zero-fill ws to avoid a false positive from MemorySanitizer.
- memset(&ws, 0, sizeof(ws));
if (ioctl(FileID, TIOCGWINSZ, &ws) == 0)
Columns = ws.ws_col;
#endif
OpenPOWER on IntegriCloud