dwarf: add DWP files with types and macros (#35)

This commit is contained in:
Philip Craig
2026-01-14 15:08:41 +10:00
committed by GitHub
parent ec9f52cb01
commit d76fcb8e5b
7 changed files with 5 additions and 0 deletions
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
+5
View File
@@ -8,3 +8,8 @@ clang++-18 $CFLAGS base.cpp -o base-clang-macinfo -gdwarf-4 -fdebug-macro
clang++-18 $CFLAGS base.cpp -o base-clang-macro -gdwarf-5 -fdebug-macro
g++-13 $CFLAGS base.cpp -o base-gcc-split -g2 -gsplit-dwarf
llvm-dwp -e base-gcc-split -o base-gcc-split.dwp
clang++-18 $CFLAGS base.cpp -o base-clang-split-v4 -g2 -gdwarf-4 -gsplit-dwarf -fdebug-macro -fdebug-types-section
# llvm-dwp doesn't create .debug_macinfo.dwo
dwp -e base-clang-split-v4 -o base-clang-split-v4.dwp
clang++-18 $CFLAGS base.cpp -o base-clang-split-v5 -g2 -gdwarf-5 -gsplit-dwarf -fdebug-macro -fdebug-types-section
llvm-dwp-18 -e base-clang-split-v5 -o base-clang-split-v5.dwp