[Lldb-commits] [PATCH] D65611: [Driver] Expand the target in the driver.

Jim Ingham via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 1 15:46:30 PDT 2019


jingham added a comment.

IIRC both GetPath and ResolvePath return the number of characters it would take to actually resolve the path.  128 is actually pretty short, so you should check the result and malloc a buffer of the return + 1 if 128 ends up not being enough.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65611/new/

https://reviews.llvm.org/D65611





More information about the lldb-commits mailing list