-
- Downloads
bpf: set PREFERRED_DEBUGGING_TYPE to BTF_DEBUG
BTF is the standard debug info used with BPF programs, so it makes sense to default to BTF rather than DWARF. gcc/ * config/bpf/bpf.h (PREFERRED_DEBUGGING_TYPE): Set to BTF_DEBUG. gcc/testsuite/ * gcc.target/bpf/bpf-debug-options-1.c: New test. * gcc.target/bpf/bpf-debug-options-2.c: Likewise. * gcc.target/bpf/bpf-debug-options-3.c: Likewise. * gcc.target/bpf/core-options-4.c: Likewise.
Showing
- gcc/config/bpf/bpf.h 5 additions, 0 deletionsgcc/config/bpf/bpf.h
- gcc/testsuite/gcc.target/bpf/bpf-debug-options-1.c 17 additions, 0 deletionsgcc/testsuite/gcc.target/bpf/bpf-debug-options-1.c
- gcc/testsuite/gcc.target/bpf/bpf-debug-options-2.c 18 additions, 0 deletionsgcc/testsuite/gcc.target/bpf/bpf-debug-options-2.c
- gcc/testsuite/gcc.target/bpf/bpf-debug-options-3.c 14 additions, 0 deletionsgcc/testsuite/gcc.target/bpf/bpf-debug-options-3.c
- gcc/testsuite/gcc.target/bpf/core-options-4.c 4 additions, 0 deletionsgcc/testsuite/gcc.target/bpf/core-options-4.c
Loading
Please register or sign in to comment