-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dwarf2reader.cc:835: Unhandled form type #159
Comments
By the way, i found redis compile with |
Rtoax
added a commit
to Rtoax/autofdo
that referenced
this issue
Mar 17, 2023
This submit try to fix [0] gcc commit 3aa46b47b266("dwarf2out.c (debug_line_str_section): New variable.") introduct DW_FORM_line_strp = 31(0x1f). Error: $ perf record -b -e br_inst_retired.near_taken:pp -- ./redis-server $ create_gcov --binary=./redis-server --profile=perf.data --gcov=redis-server.gcov -gcov_version=1 [WARNING:/home/rongtao/Git/google/autofdo/third_party/perf_data_converter/src/quipper/perf_reader.cc:1320] Skipping 120 bytes of metadata: HEADER_CPU_TOPOLOGY [WARNING:/home/rongtao/Git/google/autofdo/third_party/perf_data_converter/src/quipper/perf_reader.cc:1067] Skipping unsupported event PERF_RECORD_ID_INDEX [WARNING:/home/rongtao/Git/google/autofdo/third_party/perf_data_converter/src/quipper/perf_reader.cc:1067] Skipping unsupported event PERF_RECORD_CPU_MAP [WARNING:/home/rongtao/Git/google/autofdo/third_party/perf_data_converter/src/quipper/perf_reader.cc:1067] Skipping unsupported event UNKNOWN_EVENT_82 [INFO:/home/rongtao/Git/google/autofdo/third_party/perf_data_converter/src/quipper/perf_reader.cc:1058] Number of events stored: 26469 [INFO:/home/rongtao/Git/google/autofdo/third_party/perf_data_converter/src/quipper/perf_parser.cc:274] Parser processed: 13 MMAP/MMAP2 events, 7 COMM events, 5 FORK events, 0 EXIT events, 26364 SAMPLE events, 25839 of these were mapped, 0 SAMPLE events with a data address, 0 of these were mapped WARNING: Logging before InitGoogleLogging() is written to STDERR W20230317 14:17:19.056632 32875 legacy_addr2line.cc:41] File './redis-server' has no .debug_addr section. W20230317 14:17:19.056703 32875 legacy_addr2line.cc:41] File './redis-server' has no .debug_ranges section. F20230317 14:17:19.056878 32875 dwarf2reader.cc:836] Unhandled form type *** Check failure stack trace: *** Aborted (core dumped) [0] google#159 Signed-off-by: Rong Tao <[email protected]>
Rtoax
added a commit
to Rtoax/autofdo
that referenced
this issue
May 12, 2023
This submit try to fix [0] gcc commit 3aa46b47b266("dwarf2out.c (debug_line_str_section): New variable.") introduct DW_FORM_line_strp = 31(0x1f). Error: $ perf record -b -e br_inst_retired.near_taken:pp -- ./redis-server $ create_gcov --binary=./redis-server --profile=perf.data --gcov=redis-server.gcov -gcov_version=1 [WARNING:/home/rongtao/Git/google/autofdo/third_party/perf_data_converter/src/quipper/perf_reader.cc:1320] Skipping 120 bytes of metadata: HEADER_CPU_TOPOLOGY [WARNING:/home/rongtao/Git/google/autofdo/third_party/perf_data_converter/src/quipper/perf_reader.cc:1067] Skipping unsupported event PERF_RECORD_ID_INDEX [WARNING:/home/rongtao/Git/google/autofdo/third_party/perf_data_converter/src/quipper/perf_reader.cc:1067] Skipping unsupported event PERF_RECORD_CPU_MAP [WARNING:/home/rongtao/Git/google/autofdo/third_party/perf_data_converter/src/quipper/perf_reader.cc:1067] Skipping unsupported event UNKNOWN_EVENT_82 [INFO:/home/rongtao/Git/google/autofdo/third_party/perf_data_converter/src/quipper/perf_reader.cc:1058] Number of events stored: 26469 [INFO:/home/rongtao/Git/google/autofdo/third_party/perf_data_converter/src/quipper/perf_parser.cc:274] Parser processed: 13 MMAP/MMAP2 events, 7 COMM events, 5 FORK events, 0 EXIT events, 26364 SAMPLE events, 25839 of these were mapped, 0 SAMPLE events with a data address, 0 of these were mapped WARNING: Logging before InitGoogleLogging() is written to STDERR W20230317 14:17:19.056632 32875 legacy_addr2line.cc:41] File './redis-server' has no .debug_addr section. W20230317 14:17:19.056703 32875 legacy_addr2line.cc:41] File './redis-server' has no .debug_ranges section. F20230317 14:17:19.056878 32875 dwarf2reader.cc:836] Unhandled form type *** Check failure stack trace: *** Aborted (core dumped) [0] google#159 Signed-off-by: Rong Tao <[email protected]>
Rtoax
added a commit
to Rtoax/autofdo
that referenced
this issue
May 12, 2023
This submit try to fix issue google#159 [0] gcc commit 3aa46b47b266("dwarf2out.c (debug_line_str_section): New variable.") introduct DW_FORM_line_strp = 31(0x1f). Error message: $ perf record -b -e br_inst_retired.near_taken:pp -- ./redis-server $ create_gcov --binary=./redis-server --profile=perf.data \ --gcov=redis-server.gcov -gcov_version=1 ... F20230317 14:17:19.056878 32875 dwarf2reader.cc:836] Unhandled form type *** Check failure stack trace: *** Aborted (core dumped) [0] google#159 Signed-off-by: Rong Tao <[email protected]>
Rtoax
added a commit
to Rtoax/autofdo
that referenced
this issue
May 12, 2023
This submit try to fix issue google#159 [0] gcc[1] commit 3aa46b47b266("dwarf2out.c (debug_line_str_section): New variable.") introduct DW_FORM_line_strp = 31(0x1f). Error message: $ perf record -b -e br_inst_retired.near_taken:pp -- ./redis-server $ create_gcov --binary=./redis-server --profile=perf.data \ --gcov=redis-server.gcov -gcov_version=1 ... F20230317 14:17:19.056878 32875 dwarf2reader.cc:836] Unhandled form type *** Check failure stack trace: *** Aborted (core dumped) [0] google#159 [1] git://gcc.gnu.org/git/gcc.git Signed-off-by: Rong Tao <[email protected]>
Rtoax
added a commit
to Rtoax/autofdo
that referenced
this issue
May 15, 2023
This submit try to fix issue google#159 [0] Dwarf5 add a string section specific to the line number table ( .debug_line_str ) to properly support the common practice of stripping all DWARF sections except for line number information. And gcc[1] commit 3aa46b47b266("dwarf2out.c (debug_line_str_section): New variable.") introduct DW_FORM_line_strp = 31(0x1f). Error message: $ perf record -b -e br_inst_retired.near_taken:pp -- ./redis-server $ create_gcov --binary=./redis-server --profile=perf.data \ --gcov=redis-server.gcov -gcov_version=1 ... F20230317 14:17:19.056878 32875 dwarf2reader.cc:836] Unhandled form type *** Check failure stack trace: *** Aborted (core dumped) [0] google#159 [1] git://gcc.gnu.org/git/gcc.git Signed-off-by: Rong Tao <[email protected]>
I just start new V2 PR(#166) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dwarf2reader.cc:835: Unhandled form type
When i try to optimize redis with autofdo(gcc), i got
dwarf2reader.cc:835: Unhandled form type
errorman gcc
so, just add compiler argument into redis's Makefile
Then:
The text was updated successfully, but these errors were encountered: