This is an archive of the discontinued LLVM Phabricator instance.

[HeterogeneousDWARF] Implement AMDGPU CFI, DebugInfo
Needs ReviewPublic

Authored by scott.linder on Mar 30 2023, 2:59 PM.

Details

Reviewers
None
Group Reviewers
debug-info
Summary

Add -amdgpu-spill-cfi-saved-regs to enable complete debug info even when
codegen would otherwise not spill the EXEC mask. This is a workaround
until a solution to describe the EXEC mask without spills is integrated
based on the new structurizer.

Support emitting eh_frame for debug-info even when the target does not
support exceptions.

Extend MCAsmInfo to reflect whether a target opts in to the
heterogeneous DWARF extensions.

Diff Detail