<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/64685>64685</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Merge `[Driver] Default riscv*- triples to -fdebug-default-version=4` into release/17.x
</td>
</tr>
<tr>
<th>Labels</th>
<td>
backend:RISC-V,
clang:driver
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
MaskRay
</td>
</tr>
</table>
<pre>
/cherry-pick bbc0f99f3bc96f1db16f649fc21dd18e5b0918f6
This downgrade works around incorrect DWARF relating to
> DWARF v5 .debug_loclists/.debug_rnglists's DW_LLE_offset_pair/DW_RLE_offset_pair entry kinds utilitize `.uleb128 A-B`
directives where A and B reference local labels in code sections
and toolchain compatibility issues when we implement `R_RISCV_SET_ULEB128` relocations in the assembler and linkers.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxUUk2PozgQ_TXmUgIZ8xE4cCBDI63Uc8nMTh-RPwrwxrEj26Q3--tXkJZ29mJLT1X1Xr16PAS9WMSOVGdSDQnf4up8952H64U_E-HUsyNslCt6_0zvWl5BCEnntp0LIdt6zpXI67ku21myXKm8wUrQNm_mmtCB0P71_lx1AOU-7eK5Qvh0_hqAe7dZBdpK5z3KCMNHfxnBo-FR2wWig99nkOLtq-JRQaZQbMtknDQ6xEDY-IV4u3whpwDDx_T-_ja5eQ4YpzvXnrBx-Jgu_wcBbfRPuGqrAmxRGx31PwikptlmUOSsgT49k5q-hIDSu1z9wACfK3qEHrhVcAaPM3q0EsE4yQ0YLtAE0BakUwhh73I2_L7V3hidM3LlR9ntzqMWu4Qn6BC2F4eFTwR9uxu8oY27sst0-ePHt1_Tj7ef05_vb-ecNaSmu3lO8oNlp40rAg8Bb8KgP0Qaba_oQ5aorlBt0fIEu7xuGWUnWrXJ2qGiPGcNSiZFVQoUis1izqXgp5MqiyLRHaOsoE1e5lVBqyo7KUYbWddUUI65kqSkeOPaZMY8bpnzS3Is0tVl3VTJy5Mjb4wJLq9oFSn6fZv0F2GMsG-EMWm4XUjRK68f6He4GhLf7RNTsS2BlPQ4838cUUeD3Xf0y3E5Up2HV281wIAz30wEr4N8ENanEL2-Gwx7xtL5SE6qXkXpA33QzpJiKHdHtY1utxV5QMLG_JT9nWzedGuM90CKnrCRsHHRcd1EJt2NsHHX9PWld-_-QhkJG1_XJGw8fPg3AAD__xD_IZ4">