diff options
Diffstat (limited to 'gcc/config/bpf/bpf.h')
-rw-r--r-- | gcc/config/bpf/bpf.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/gcc/config/bpf/bpf.h b/gcc/config/bpf/bpf.h index 80195ce..82be0c3 100644 --- a/gcc/config/bpf/bpf.h +++ b/gcc/config/bpf/bpf.h @@ -235,17 +235,9 @@ enum reg_class /**** Debugging Info ****/ -/* We cannot support DWARF2 because of the limitations of eBPF. */ +/* In eBPF it is not possible to unwind frames. Disable CFA. */ -/* elfos.h insists in using DWARF. Undo that here. */ -#ifdef DWARF2_DEBUGGING_INFO -# undef DWARF2_DEBUGGING_INFO -#endif -#ifdef PREFERRED_DEBUGGING_TYPE -# undef PREFERRED_DEBUGGING_TYPE -#endif - -#define DBX_DEBUGGING_INFO +#define DWARF2_FRAME_INFO 0 /**** Stack Layout and Calling Conventions. */ |