This implements parts to commit a decl's debug information into a linear memory buffer. The goal is to write this buffer at once after we finished linking.