compiler: make Dwarf and self-hosted x86_64 happy

Introduces a small abstraction, `link.DebugConstPool`, to deal with
lowering type/value information into debug info when it may not be known
until type resolution (which in some cases will *never* happen). It is
currently only used by self-hosted DWARF logic, but it will also be of
use to the LLVM backend (which is my next focus).
6b185e94b9Matthew Lugg committed on 3/6/2026, 12:36:25 PMparent44f6de0
8 files changedLine totals unavailable