diff options
author | Omar Sandoval <osandov@osandov.com> | 2023-09-13 23:41:22 -0700 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2023-09-20 08:02:56 +0200 |
commit | 80048aa13a6b55d2be485000840a4e1c8b57d8e7 (patch) | |
tree | 9b65ef496506b545980a57af0dd6101f170aec9a /gcc/expr.cc | |
parent | d64631ff88f8510aa011a0b59500736fe70089e5 (diff) | |
download | gcc-80048aa13a6b55d2be485000840a4e1c8b57d8e7.zip gcc-80048aa13a6b55d2be485000840a4e1c8b57d8e7.tar.gz gcc-80048aa13a6b55d2be485000840a4e1c8b57d8e7.tar.bz2 |
debug/111409 - don't generate COMDAT macro sections for split DWARF
Split DWARF files aren't processed by the linker, so DW_MACRO_import
offsets aren't relocated and the .debug_macro.dwo sections aren't
deduplicated and merged. There's no clear way for this to work for
split DWARF, so disable it.
gcc/ChangeLog:
PR debug/111409
* dwarf2out.cc (output_macinfo): Don't call optimize_macinfo_range if
dwarf_split_debug_info.
gcc/testsuite/ChangeLog:
PR debug/111409
* gcc.dg/pr111409.c: New test.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions