]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Implement a workaround to allow this test program to be compiled with clang.
authorMark Johnston <markj@FreeBSD.org>
Wed, 17 Sep 2014 04:02:56 +0000 (04:02 +0000)
committerMark Johnston <markj@FreeBSD.org>
Wed, 17 Sep 2014 04:02:56 +0000 (04:02 +0000)
commitdab6e14240c3d9f36c55250c47b0c21e95fa7a23
tree6ab9b6b5fd2d116b31a4afb09d4d8bec87f80496
parent583b13f58856bb614f5a29c8e6d925cb991e52ca
Implement a workaround to allow this test program to be compiled with clang.
It seems that if a pragma is used to define a weak alias for a local
function, the pragma must appear after the function is defined.

PR: 193056
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/tst.weak2.c