[PATCH] Don't build DFSan functionality for Android.
Peter Collingbourne
peter at pcc.me.uk
Thu Feb 13 11:13:00 PST 2014
On Thu, Feb 13, 2014 at 01:14:02AM -0800, Stephen Hines wrote:
> Hi Peter,
>
> We don't include DFSan as part of compiler-rt on Android, so these extern
> TLS declarations are not available (and thus result in link errors for LLVM
> 3.4). Let me know if this is ok, or if there is some other way you think we
> can resolve this.
>
> Thanks,
> Steve
I'm surprised that the compiler emits a reference to the TLS symbols because
the function is normally unreferenced. But this looks like the right thing to
do on Android because __thread doesn't seem to be supported on that platform,
so LGTM.
Thanks,
--
Peter
More information about the llvm-commits
mailing list