This is an archive of the discontinued LLVM Phabricator instance.

Hide stderr output from lldb-argdumper
ClosedPublic

Authored by aprantl on Apr 24 2019, 4:18 PM.

Details

Summary

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

Diff Detail

Repository
rLLDB LLDB

Event Timeline

aprantl created this revision.Apr 24 2019, 4:18 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 24 2019, 4:18 PM
This revision was not accepted when it landed; it landed in state Needs Review.Apr 24 2019, 4:51 PM
This revision was automatically updated to reflect the committed changes.