summaryrefslogtreecommitdiff
path: root/gcc/print-rtl.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-08 00:13:02 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-08 00:13:02 +0000
commitd53ccf7b1a7784005325bcea061c16bebbf7317b (patch)
tree0056030cf44469f5fbaa6a33544b15d4d682bd59 /gcc/print-rtl.c
parentfe2dc6d6b33cd6601271d3c53c3b16674d39e11f (diff)
downloadgcc-d53ccf7b1a7784005325bcea061c16bebbf7317b.tar.gz
Dump NOTE_INSN_CFI notes.
* dwarf2out.c (output_cfi_directive): Export. Add FILE parameter. Handle some opcodes specially for debugging. * print-rtl.c: Include dwarf2out.h (print_rtx): Handle NOTE_INSN_CFI. * Makefile.in (print-rtl.o): Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176020 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/print-rtl.c')
-rw-r--r--gcc/print-rtl.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c
index c20ff6c0c5f..d7fd73bb90c 100644
--- a/gcc/print-rtl.c
+++ b/gcc/print-rtl.c
@@ -43,6 +43,7 @@ along with GCC; see the file COPYING3. If not see
#include "tree-pretty-print.h"
#include "cselib.h"
#include "tree-pass.h"
+#include "dwarf2out.h"
#endif
static FILE *outfile;
@@ -309,6 +310,14 @@ print_rtx (const_rtx in_rtx)
#endif
break;
+ case NOTE_INSN_CFI:
+#ifndef GENERATOR_FILE
+ fputc ('\n', outfile);
+ output_cfi_directive (outfile, NOTE_CFI (in_rtx));
+ fputc ('\t', outfile);
+#endif
+ break;
+
default:
break;
}