<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/56365>56365</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            llvm-dwarfdump: DW_OP_implicit_pointer not recognized. 
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          sevaa
      </td>
    </tr>
</table>

<pre>
    With the binary from #56339, run the following:

>llvm-dwarfdump --debug-info --verbose dwarf_v5ops.so.elf

In the DIE at 0x0002adaf, for DW_AT_location, it gives an error in the expression:

>[0x000000000003a704, 0x000000000003a708): <decoding error> a0 0c a0 02 00 00)

The expression contains `DW_OP_implicit_pointer`. It's new in DWARF5, but otherwise a legitimate operation.

Observed in the main branch as of 2022-07-01
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxtUs1unDAQfhq4jEBeG3aXA4c0m0g5paoi5bgyMAZXxka22U369B2zjZoqRcjYzPj7szs3vLevOk4QJ4ROW-nfQXk3Q8ZFvReiyfg9-NVudeWMcVdtx0zcZeyUsY9RPBhzmYvhKr0a1nmBohiwW8dCW-VocUHfuYCwNZwvtVtCGVyJRn2GebqxnJ4eQEZgb4wxLgepkgTlPJxez3cvZ-N6GbWz6a-OMOoLBpAW0Hvq0TcMfFs8hpDavkjN6m8b9scj5IFVCe3L32PGG9oPmbgfsHcDOb_REApIBqzfRg6MRpaaPzG9_CMDemej1DZAtmdk5Pn7Wc-L0b2O58VpG9FToYSnmPFDAIvXZOX0evfjsU7aujWCI2f-qilHCQZHHfUsI4Jb0G-JlJ_pn7uA_oLDRyIzkUPnpe0nkAGcAs44L9ihYLt8aMXQiEbmUUeD7b-HmRL4v2KwLoKnZEarf-FQQr56004xLiHFzh_pJZnT2pW9m2mRgP98isW7n9iT3UcdwoqBJnTh9nU-tVXDVd_sVMWk4JIdZL_rjlUlVNX3CgeRG9mhCS2dZMb5llWCoHlWn3LdJmfswMSuYfv6WO4V3ePjjvYgyp0QWcWQ4jBl0lE6P-b-ZplubKCi0SGGv0VJBzhaxI2O8OUaJ-fbgBcp84243YT_Bvf9CJo">