kit

kit
git clone https://git.ryansepassi.com/git/kit.git
Log | Files | Refs | README

01-dwarf-all.sh (483B)


      1 # `objdump --dwarf` over a committed DWARF5 fixture (a hand-built ELF with
      2 # .debug_info / .debug_abbrev / .debug_line / .debug_str; see
      3 # test/dwarf/dwarf_test.c, regenerable via KIT_DWARF_WRITE_FIXTURE). The
      4 # usual source is `cc -g`, but a committed fixture keeps this golden stable
      5 # and decoupled from the code generator. Copied into the sandbox under a
      6 # fixed name so the file-format label is deterministic.
      7 cp "$(dirname "$0")/dwarf.o" dwarf.o
      8 "$KIT" objdump --dwarf dwarf.o