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

    <tr>
        <th>Summary</th>
        <td>
            Port JSON output format for llvm-dwarfdump
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            good first issue,
            tools:llvm-dwarfdump
      </td>
    </tr>

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

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

<pre>
    `llvm-readelf/obj` supports `--elf-output-style=` with JSON as one of the values which makes parsing readelf output much easier. Having the same for `llvm-dwarfdump` would also be nice to have.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxckc-K3DwQxJ9GvjQ2cvv_QYfvy2LCHpKFPIE0btvayCOjljzs2wd7J4Tk1CCK-lWVNLNd7kRKNP-L5iXTKa4-qDf76pMjzoyfPpRopXPHlgfSE7lZ4OjNu2glcNp3HyKDaGWek5tzn-KeYs7xw5GoXk7Rw8YVXn98_waawd8J_AxxJTi0S8TwWO1thU3_JIZdB7b3BZ4g-HSDLd1WIM2WQgFf9XFKTgfWG8HsA_wOOD10mKe07RfXJzeBduzBENztjSB6WPVBRTapahqqQWekyq7BUmJfl9mqBtMMpsVO9hN2VW-I2sFQY2o0uunLNrMKJTaykwNWZS3Lou9wkrI2ZpBaN1Utakmbtq44AxU-LJllTqTKuusbmTltyPG1NuLi_QSzDRzhEglEgV8EYvTesaj--6cU4vlFQV3PJi0sauksR_4DizY6Um8-xM_JnwvOPmz6OvC3Z5aCU2uM-4kTOAocFxvXZIqb3wSOp_p58j34d7pFgeOVlgWOz1aHwl8BAAD__6qHwHg">