The strlen interceptor is sometimes invoked too early for REAL(strlen) to
be initialized. A special check is added to use internal_strlen for this
situation.
Details
Diff Detail
Event Timeline
I wonder if you could confirm that this fixes the failure you were seeing on FreeBSD?
Yes, this fixes all the ASan tests which were broken on FreeBSD after rL263177. Tested on i386-freebsd11, amd64-freebsd11 (and even x86_64-darwin15 :) ) Thanks!
Yes, I committed it as r265705. Strange, it lists this page in the commit (http://reviews.llvm.org/rL265705), yet it didn't auto-close here -- did I not commit it in the right way?
The commit message looks just fine to me, it includes the correct Differential Revision: header, as far as I can see. Let's just call it a fluke and close this review. :)
Phabricator only detects Differential Revision: at the end of the commit message. The Change-Id text after it in rL265705 is the reason it didn't auto-close.