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

    <tr>
        <th>Summary</th>
        <td>
            [clang][uefi] msvc::no_unique_address is not handled correctly for UEFI x86_64 targets
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang
      </td>
    </tr>

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

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

<pre>
    For the newly introduced target triple x86_64-uefi, default CXX ABI is Microsoft ABI. This is not set correctly in TargetInfo.cpp. This results in `hasAttr<NoUniqueAddressAttr>()` returning false for UEFI target triple. Set the correct ABI for UEFI in TargetInfo and add regression tests.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxUUk2PmzwQ_jXmMloEJoZw4JD9QMrhfVWpu9LeImMP4NaxU3ucdv99BWGj7gn0eD6ej5Exmskhdkw8Ms6_BTnM6SfjnInnTCaafeg2MBu8_uh6H4BmBIe_7QcYR8HrpFADyTAhAQVzsQh_9vWp3j0kHA3jT6BxlMkSPL2_w-HxCCbCf0YFH_1IC5DD62ziAjtPEJFA-RBQ0boDXtfZRzf6XF0uW3HAmCzF5Z3VxSzjgSiw6ul__-bMr4QHrQPGDX1hfM94y-oCAlIKzrgJRmkjwugDvL30x68Kcvi-_M_4yWTlfa_9Qgqk0yC1hoDTstJ4B4SRYp7prtJt1coMu7IRFS_btqyzuWtaIbAQSuCuGbjWajdUDVdltedlOdb7zHS84KJoOOdlVYo6V0KoRgg1iEE3jR7ZrsCzNDa39nrOfZgyE2PCrhRFWVaZlQPauMWqrHTTFmroloaHIU2R7QprFpr3EWTIrrdw6xDPTDyuGYpnOMerYtWBVQfnT2m1-CRvHn8GN0unLep_wrsbdjuIzeOYpWC7megSl4m8Z7yfDM1pyJU_M94vhLbPwyX4H6iI8X4VGBnvN43Xjv8NAAD__1Fa6CA">