[Lldb-commits] [PATCH] Fix process's output to stdout/stderr (MI)

Greg Clayton clayborg at gmail.com
Wed Feb 25 11:02:55 PST 2015


So then my other comment stands: I believe you using std::shared_ptr<char> incorrectly unless the compiler does some magic. I believe your arrays should be declared like:

  std::shared_ptr<char> spStdoutBuffer(new char[1024], std::default_delete<char[]>());


http://reviews.llvm.org/D7858

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the lldb-commits mailing list