Thanks, Zachary also pinged me on IRC. This was fixed in r347821. > On Nov 28, 2018, at 4:09 PM, Leonard Mosescu via Phabricator > <revi...@reviews.llvm.org> wrote: > > lemo added a comment. > > I noticed a small problem, this change breaks "lldb -c <corefile>". The > inline comment explains the root cause. > > Thanks > > > > ================ > Comment at: lldb/trunk/tools/driver/Driver.cpp:310 > + if (args.hasArg(OPT_core)) { > + SBFileSpec file(optarg); > + if (file.Exists()) { > ---------------- > there's a small bug in here: optarg is the global definition, I assume the > intention was to use the getValue() instead. as is, it breaks "lldb -c > <corefile>" > > it would be nice to get rid the global optarg as well since it masks these > kind of mistakes. > > > Repository: > rL LLVM > > CHANGES SINCE LAST ACTION > https://reviews.llvm.org/D54692/new/ > > https://reviews.llvm.org/D54692 > > >
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits