[llvm] 084f3cf - [AMDGPU] Update DWARF proposal encodings

Scott Linder via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 30 11:04:06 PDT 2020


Author: Scott Linder
Date: 2020-04-30T14:02:54-04:00
New Revision: 084f3cf92b95768b3b39ca1c4fd901e6e508434c

URL: https://github.com/llvm/llvm-project/commit/084f3cf92b95768b3b39ca1c4fd901e6e508434c
DIFF: https://github.com/llvm/llvm-project/commit/084f3cf92b95768b3b39ca1c4fd901e6e508434c.diff

LOG: [AMDGPU] Update DWARF proposal encodings

Update the tentative encodings to avoid a conflict with a GNU extension.

Differential Revision: https://reviews.llvm.org/D70523

Added: 
    

Modified: 
    llvm/docs/AMDGPUDwarfProposalForHeterogeneousDebugging.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/AMDGPUDwarfProposalForHeterogeneousDebugging.rst b/llvm/docs/AMDGPUDwarfProposalForHeterogeneousDebugging.rst
index 253380b43dc0..e9094935e0db 100644
--- a/llvm/docs/AMDGPUDwarfProposalForHeterogeneousDebugging.rst
+++ b/llvm/docs/AMDGPUDwarfProposalForHeterogeneousDebugging.rst
@@ -3575,15 +3575,15 @@ entry attributes.
 .. table:: Attribute encodings
    :name: amdgpu-dwarf-attribute-encodings-table
 
-   ================================== ===== ====================================
-   Attribute Name                     Value Classes
-   ================================== ===== ====================================
-   DW_AT_LLVM_active_lane             *TBD* exprloc, loclist
-   DW_AT_LLVM_augmentation            *TBD* string
-   DW_AT_LLVM_lanes                   *TBD* constant
-   DW_AT_LLVM_lane_pc                 *TBD* exprloc, loclist
-   DW_AT_LLVM_vector_size             *TBD* constant
-   ================================== ===== ====================================
+   ================================== ====== ===================================
+   Attribute Name                     Value  Classes
+   ================================== ====== ===================================
+   DW_AT_LLVM_active_lane             0x3e08 exprloc, loclist
+   DW_AT_LLVM_augmentation            0x3e09 string
+   DW_AT_LLVM_lanes                   0x3e0a constant
+   DW_AT_LLVM_lane_pc                 0x3e0b exprloc, loclist
+   DW_AT_LLVM_vector_size             0x3e0c constant
+   ================================== ====== ===================================
 
 DWARF Expressions
 ~~~~~~~~~~~~~~~~~
@@ -3720,8 +3720,8 @@ instructions.
    Instruction              High 2 Low 6  Operand 1        Operand 2        Operand 3
                             Bits   Bits
    ======================== ====== ====== ================ ================ ================
-   DW_CFA_def_aspace_cfa    0      0x2f   ULEB128 register ULEB128 offset   ULEB128 address space
-   DW_CFA_def_aspace_cfa_sf 0      0x30   ULEB128 register SLEB128 offset   ULEB128 address space
+   DW_CFA_def_aspace_cfa    0      0x30   ULEB128 register ULEB128 offset   ULEB128 address space
+   DW_CFA_def_aspace_cfa_sf 0      0x31   ULEB128 register SLEB128 offset   ULEB128 address space
    ======================== ====== ====== ================ ================ ================
 
 Attributes by Tag Value (Informative)
@@ -3814,4 +3814,4 @@ References
 
     .. _amdgpu-dwarf-SEMVER:
 
-15. [SEMVER] `Semantic Versioning <https://semver.org/>`__
\ No newline at end of file
+15. [SEMVER] `Semantic Versioning <https://semver.org/>`__


        


More information about the llvm-commits mailing list