SOLARIS: save kernel module function arguments for debugging 98/12798/5
authorCaitlyn Marko <cmarko@sinenomine.net>
Thu, 9 Feb 2017 14:16:17 +0000 (09:16 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Wed, 7 Feb 2018 03:34:25 +0000 (22:34 -0500)
commit32d0493a7e4f74f5e5efdfde5eca29ed7d1bf3ec
tree9b31857b0c939692da35e7fc514f021793604cb5
parent88cb536f99dc58fdbeb9fa6c47c26774241a0cb6
SOLARIS: save kernel module function arguments for debugging

Add the -Wu,-save_args compiler option when building kernel modules
under Solaris 10 and 11 for the amd64 architecture.

Binaries generated with this option save function arguments on the stack
during function entry for debugging purposes. Up to six integer
arguments are saved on function entry, and are not modified during the
execution of the function.

[mmeffie: commit message update]

Change-Id: I7ee50e5108a46685efa17d0380883c6d1702a5e4
Reviewed-on: https://gerrit.openafs.org/12798
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/libafs/MakefileProto.SOLARIS.in