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

    <tr>
        <th>Summary</th>
        <td>
            [libcxxabi] `typeid(_Float16)` (`_ZTIDF16_`) is not defined
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          glebov-andrey
      </td>
    </tr>
</table>

<pre>
    The following program compiles but does not link (with `-stdlib=libc++` on Linux):
```c++
#include <typeinfo>
const std::type_info &a = typeid(_Float16);
```
The error:
```
undefined reference to `_ZTIDF16_'
```
Compiler Explorer link: https://godbolt.org/z/G9ndre7oq.

Curiously `libc++abi.so.1` does export something called `_ZTIDh` (`typeinfo for half`).

The exact same error occurs with `libstdc++` and/or GCC.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxsk8-O4jgQxp-mcikRBSeE5JADDZ3WSnvs016Q_1SId4zN2E43zNOPnED3TM8IS8ixq76q31fmIeiTJepg8wSbQ8anODrfnQwJ97biVnm6ZcKpW_c6Eg7OGPeu7Qkv3p08P6N054s2FFBMEZWjgNZFNNp-Q2DNu44jQl2sQlRGCygPRgsJ7CmtukBn8V9tpyuwFsodFAcodlAXy3rcW76yUltpJkUI5T7eLqTt4KB8Xo6lsyFiiCqlKXfp_JguILCaI5QHnEMUsObYG8fjup41n75oLtvUKnnv_J9FLdvJKhq0JYWeBvJkJWF0qdPjf6__HPp1fQS2_WvofgHm8fl6Mc6Tn2FBucMxxktIiqwH1p-cEs7E3PkTsP4HsP6lTW5s3ff8nnjJN3ntpmBuSf2TLhc6Dy5fJ8qzLXS9OB8xuDPFMTkouTGkPmoe001gDdTFgy4OzuPIzZCKZ-1vsjOiK5cRAz_faaGTcvIBH64bLUJUv9jNrQLWO48v-32eqa5UbdnyjLp1vS2aqmmLKhu7Vklq2SAa2W5Y0wpBSjZNvR24rKuqoUx3rGBsPf-qdVXl1Vpsyqapy22zJVVwqAo6c21yY97OiWCmQ5io27RVvckMF2TCPPCMWXrH-RAYS_PvuxSzEtMpQFUYHWL4zBJ1NPNLSZyvVy40bA74IPZ1uD54fs7EzBH18kjuI5RN3nRfvNdxnEQu3RlYn9Tvf6uLd_-TjMD6ueYArJ97-hkAAP__t8UkLg">