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

    <tr>
        <th>Summary</th>
        <td>
            Cherry-pick 82e5f951fd6e6ad6323067d8afcf025fc72d9c33 into 14.0.0
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            backend:AArch64,
            release:backport
      </td>
    </tr>

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

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

<pre>
    This fixes an issue in e655e74a318e0b4140391ae18725300c7f0629f6, noted by @jrtc27:
> This results in the DWARF type info containing DW_TAG_namespace for C, which breaks DTrace's CTF (as the name implies, it is for C, not C++), as used during the build of FreeBSD. This does not seem correct to me. If your mangling for va_list is broken then you should special case that in the CFI mangler as an ABI quirk, IMO, not change the DWARF for C to contain C++ things.

Please either apply 82e5f951fd6e6ad6323067d8afcf025fc72d9c33 (and its dependency 18ead23385a4e0e6421d658591b1ee6a1c592b53, both by @pcc), or revert e655e74a318e0b4140391ae18725300c7f0629f6 in the release/14.x branch.

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyNU0uPmzAQ_jVwsRYZg3kcOLBJU-VQtWoj9bgy9hC8AUxts13-fcc0UXtcybw89vfy0Bm1NZdBO9Lrd3BEzEQ7twLRM4GCcyhzkaUV0C5Pc5rVqYC0KhnPKJVlTwtW90XEDmQ2HhTpNhLl9NV6ycooayN6jGgbZZ_IzmDBraN3AdoPQI4_2-8n4rclkPWGSDN7oWc9X7H0cmk_v8xiArcICaQ3lhwCz-9By4F0FsTNkePFYjFipSOHy4lErBJuhw4biZ6WUYMLu7QnweEDBMWGl-d91GEG960ODajVBv6A0a16VMT05GQBnn8ck78mlMGUAoADmFCztSA98YZMkJBzTzazWjKJ-ToGoED5Jl5G7XYFnTU32N3PYSFxg1mRxC0gtRiJFA6wKPwjosPp_BcLbJCIh9M-n8mvVdtbUH3-8vVhRw64DP7LdTcbdN1jfRjGJSjMJfez2e_fRgjMoHE7Ei3LuJGKAe9rnvaqgEKoImMZLUpViV72lPFelkzVMsv21GeFEWM2sMCsYJYbwZYRimVZxUUOFIqcpargFa_TLgUETCWvWcezoL8zfri3ziLl_URQvoU3sP7DbfgIzcJuJ2KnNE_eMXMxy-HuN1ZNpuqsFrHXfoTmgIbt9rRoefu4Yz1jrIhNExqvdmwG7xcX2p2dcFwxxbVLpJnwYxzfHo-nxZpX7BX83P8wbMwTz3NG46FhMu9KLuu8yAXtoaYlCLwYJkcV-oxH0cHomojjEbJOSOwihYxta-VQ5DgXIsPHw3vWhkWLsT7U-DHWDaOM0SwtU57XnCe5qFLZQypFmoKoCgwfJqHHJGhNjL3Gttlld-vVYTG0sPtXFM7p6wywS0J8sfrB2OaoJ-3t1s7KahnvPpvd5B8q4WFr">