[Bug 223752] clang __attribute__((constructor)) gets wrong input parameters
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Nov 20 00:31:12 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223752
--- Comment #9 from Mark Millard <markmi at dsl-only.net> ---
(In reply to dstaesse from comment #7)
I did not manage to find anything that mentioned
the parameters/arguments: You found materials that
I did not. What context(s) were they from?
"portable way": what range of portability? Even having
shared libraries is likely not universal to all C/C++
contexts. Windows .DLL's have a different mechanism
if I remember right. And so on.
But even for a narrower Unix/BSD/Linux context: as far
as I know the conventions are just local/ABI conventions
and the compiler does not drive which conventions are
used: the environment does something to impose the
environment's desired rules.
[I'm no expert on POSIX rules so there might be material
from that direction that I'm not aware of.]
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-toolchain
mailing list