[PATCH] [UBSan] Allow UBSan location to store frames returned by symbolizer.

Filipe Cabecinhas filcab+llvm.phabricator at gmail.com
Tue Feb 10 19:46:34 PST 2015


Although, wouldn't calling free() on the this pointer be undefined behavior? After we (conceptually) return from InternalFree, we have an invalid this pointer. Wouldn't this be UB? We're not calling methods on it, but we end up inside a member function (however briefly) with an invalid this pointer.

I couldn't find it in the standard, but I'm sure @rsmith knows the answer :-)


http://reviews.llvm.org/D7548

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






More information about the llvm-commits mailing list