dwarf: add files with macros

This commit is contained in:
Philip Craig
2025-09-13 13:18:17 +10:00
parent 87744b1f56
commit e88566efab
4 changed files with 3 additions and 0 deletions
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+3
View File
@@ -1,7 +1,10 @@
CFLAGS="-fdebug-prefix-map=`pwd`=/object/testfiles/dwarf -O3"
g++-13 $CFLAGS base.cpp -o base-gcc-g1 -g1
g++-13 $CFLAGS base.cpp -o base-gcc-g2 -g2
g++-13 $CFLAGS base.cpp -o base-gcc-macro -g3
clang++-18 $CFLAGS base.cpp -o base-clang-g1 -g1
clang++-18 $CFLAGS base.cpp -o base-clang-g2 -g2
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