[PATCH] D78778: [AMDGPU] Add SupportsDebugUnwindInformation to MCAsmInfo

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 11 10:54:30 PST 2020


MaskRay added a comment.

Could you just add `ExceptionsType = ExceptionHandling::DwarfCFI` to AMDGPUMCAsmInfo.cpp? You can still make `Asm->needsOnlyDebugCFIMoves` so that .debug_frame will be generated while .eh_frame is not.

> Add SupportsDebugOnlyCFI as a workaround for targets which do not have EH support but which do support unwind information for debugging.

Perhaps just expand the abbreviations: "... do not support .eh_frame but support .debug_frame for debugging."


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78778/new/

https://reviews.llvm.org/D78778



More information about the llvm-commits mailing list