[PATCH] D70523: [AMDGPU] Update AMDGPUUsage with DWARF proposal

Tony Tye via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 13 16:52:57 PDT 2020


t-tye updated this revision to Diff 257150.
t-tye added a comment.

[AMDGPU] Update DWARF proposal

- Unify the sections on DWARF expression and location lists.
- Allow a location description to have one or more single location descriptions.
- Define context of DWARF expression that includes an initial stack. Allow initial stack to be used when evaluating location list expression with overlapping PC ranges.
- Reorganize the DWARF proposal in AMDGPUUsage so suitable for submission to the DWARF site.
- Replace CFI instruction DW_CFA_LLVM_def_cfa_aspace with DW_CFA_def_aspace_cfa and DW_CFA_def_aspace_cfa_sf. This is to avoid the problem that DW_CFA_def_cfa and DW_CFA_def_cfa_sf cannot use a register that is not the size of an address in the CFA address space.
- Clarify DWARF address class and DWARF address space. Define language values for DWARF address classes and specify how they are used by some common source languages.
- Define rules for accessing registers and derefencing memory when the type size and register size or byte size operand do not match.
- Numerous cleanups for consistency.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70523

Files:
  llvm/docs/AMDGPUUsage.rst

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70523.257150.patch
Type: text/x-patch
Size: 325190 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200413/d74a4000/attachment-0001.bin>


More information about the llvm-commits mailing list