]> git.proxmox.com Git - mirror_zfs.git/commit
compile with -fno-omit-frame-pointer
authorRichard Elling <Richard.Elling@RichardElling.com>
Sun, 14 Apr 2019 18:04:54 +0000 (11:04 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Sun, 14 Apr 2019 18:04:54 +0000 (11:04 -0700)
commitd5d2ef2b268096f96d7fdf0743976d2a64cf51a2
treee9bc7c28479f4c5a3f83328e12e1b84e52f21254
parent7dcd31883299b3ee3801dd701f7a986a0af9b2f9
compile with -fno-omit-frame-pointer

By default, depending on the version, gcc can reuse the frame pointer register.
This is a micro-optimization that might help on some very old x86 processors.
However, it also makes dynamic tracing less useful because the stacks cannot
be easily observed.

This rule change instructs gcc to use the -fno-omit-frame-pointer option
when compiling.

Reviewed-by: Olaf Faaland <faaland1@llnl.gov>
Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Richard Elling <Richard.Elling@RichardElling.com>
Closes #8617
config/Rules.am
config/always-compiler-options.m4
config/zfs-build.m4