]> git.michaelhowe.org Git - packages/o/openafs.git/commit
SOLARIS: save kernel module function arguments for debugging
authorCaitlyn Marko <cmarko@sinenomine.net>
Thu, 9 Feb 2017 14:16:17 +0000 (09:16 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Fri, 9 Feb 2018 13:57:29 +0000 (08:57 -0500)
commitf523c92a74bace287d1139fab77a030b9598ef61
treea903e691c22e5ce1a6bc464cd42d0b43934db429
parent96ce04c78b5f745424165494c9b76d7ce227eeaa
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]

Reviewed-on: https://gerrit.openafs.org/12798
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
(cherry picked from commit 32d0493a7e4f74f5e5efdfde5eca29ed7d1bf3ec)

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