aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2019-05-11 23:31:56 +0000
committerIain Sandoe <iains@gcc.gnu.org>2019-05-11 23:31:56 +0000
commit65ecff904b65ee1c0b8d7b642a72cad3222f2ecd (patch)
tree9d9e2f6d2c767e3132f2f6757900d75cc0696e39 /gcc
parent7121b43fd5df4d15fb9c3e51d4ffe0c1df2a56d9 (diff)
downloadgcc-65ecff904b65ee1c0b8d7b642a72cad3222f2ecd.zip
gcc-65ecff904b65ee1c0b8d7b642a72cad3222f2ecd.tar.gz
gcc-65ecff904b65ee1c0b8d7b642a72cad3222f2ecd.tar.bz2
darwin, ppc - improve debug for mdebug-stack
Darwin uses an out of line save when complete context needs to be saved, including the vector regs. This patch prints the status of that when -mdebug=stack is given. gcc/ 2019-05-12 Iain Sandoe <iain@sandoe.co.uk> * config/rs6000/rs6000.c (debug_stack_info): When -mdebug=stack is given, print the state of the EH "save world" computation for Darwin. From-SVN: r271101
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/rs6000/rs6000.c3
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e4b0099..2628c24 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
+
+ * config/rs6000/rs6000.c (debug_stack_info): When -mdebug=stack
+ is given, print the state of the EH "save world" computation for
+ Darwin.
+
2019-05-11 Jakub Jelinek <jakub@redhat.com>
PR c++/59813
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 3d1af9f..933356d 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -24721,6 +24721,9 @@ debug_stack_info (rs6000_stack_t *info)
fprintf (stderr, "\tsave-strategy = %04x\n", info->savres_strategy);
+ if (info->abi == ABI_DARWIN)
+ fprintf (stderr, "\tWORLD_SAVE_P = %5d\n", WORLD_SAVE_P(info));
+
fprintf (stderr, "\n");
}