[Lldb-commits] [PATCH] D61101: Hide stderr output from lldb-argdumper

Adrian Prantl via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 24 16:18:26 PDT 2019


aprantl created this revision.
aprantl added reviewers: jasonmolenda, jingham.
Herald added a project: LLDB.

Under very specific circumstances the default shell `/bin/sh` might print stuff to stderr before launching lldb-argdumper, which then confuses the JSON parser. This patch suppresses stderr output from lldb-argdumper to avoid this situation.

rdar://problem/50149390


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D61101

Files:
  lldb/include/lldb/Host/Host.h
  lldb/source/Host/common/Host.cpp
  lldb/source/Host/macosx/objcxx/Host.mm

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61101.196542.patch
Type: text/x-patch
Size: 6359 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190424/59dcf54a/attachment.bin>


More information about the lldb-commits mailing list