llvm-project
1a0f284d - [NFC] Extract DWARFCFIProgram into separate files (#139326)

Commit
201 days ago
[NFC] Extract DWARFCFIProgram into separate files (#139326) CFIPrograms' most common uses are within debug frames, but it is not their only use. For example, some assembly writers encode them by hand into .cfi_escape directives. This PR extracts code for them into its own files, setting them up to be evaluated from outside debug frames themselves. One in a series of NFC DebugInfo/DWARF refactoring changes to layer it more cleanly, so that binary CFI parsing can be used from low-level code, (such as byte strings created via .cfi_escape) without circular dependencies. The final goal is to make a more limited dwarf library usable from lower-level code.
Parents
Loading