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

    <tr>
        <th>Summary</th>
        <td>
            add instrumented `libc++` to `apt.llvm.org` packages
        </td>
    </tr>

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

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

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

<pre>
    To be able to use MemorySanitizer with C++ it requires an "instrumented libc++" (see https://clang.llvm.org/docs/MemorySanitizer.html#handling-external-code). Unfortunately it seems is is not documented how to build and use that. I came across some repositories which provided (mostly outdated) scripts and Dockerfiles. Not being very familiar with LLVM internals I don't know how well a self-built libraries works if the code doesn't match with the underlying system. But I digress.

There also appears no way to get such a pre-built library. I would have expected some docker images or maybe even a GitHub action but not luck. OSS-Fuzz utilizes it but I have not looked into that so far.

So I am wondering if it were possible to add this as an additional package to the `apt.llvm.org` packages.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx9VEuP2zYQ_jXSZWBBLzurgw5JFmkDJO1h09xH4khiTJEKH1a0v75DetN0e6hBWKJJfq_heDDi6L8YGAhwUATeQHAEn2k19nhCLb18Jgu79Au8z-p3PEB6sPQ9SEsOUENW11I7b8NK2pMAJYfxvpNXePXBEcHi_eay5m1Wf-AxKtRzodRtLYyd-QdhRseP_9AWi19VVjcLaqGknk_0w5PVqE6jEZTVXQF_6clYHzR6UkdUxmSrA5mGNh4Y-aewxezR3xCkEixcJKd-QV_ARxhx5QhGa5wDZ_jd0mac9MZKtrkvclxgs-YmBSOxqdU4z4wmeMHcgsWAG63cvEvQj2a8kp2kIlfAH6xjIDYAN7IHTLhKJfEl1U-fvn4Gqe_GHCsRRmf1Gw9XzXqj5p2UAmRnajpF8T5GbPEuzNgre53YB0FMhY-TuwOs6Fl0IomrQQuy6ogy3OE8rQW8Cz4SyplL6YqsfMzKt_fvLwtZzkM5A7hthDamCTseMcGZOOfA2MiR0CtNR8xyN4ETXvBGQD82GmP4KVORUgG54szajWWJB988upFmrN-k_z0MXAQvjeYy-VRAFcZrAX8-PZ0-hOdnCJ6ze-bTXOshyU88aacxV2biLE0qK3Ny1vaVryfDJ3BliTGNmAVnx1B7tMsFd_KlC1AIBuFLhOmS81RGWahgw_HK-iGxEGSXEjf_6zJfyp87XJFTX10uXVNWTXvORd-Irukw99Ir6iPDq8bho__qHcZhhv9Bz4NV_eu-mrnWYShGs_Iknnl5nPjmfuM68FQ6Fyj22rmruiZf-poacRnboWq7ru4ehgqbjj_jeMFzecY2VziQcn12jv2saYcEwe_Z-TGXfV3WdVXVbdW2D-eyaOt6evMgLgKbppymKmtLWlGqfyzktk-ShjA7XlTSefdrEbkCsyZKdIyPwS_G9hP_2exc5zxx90n731eBnXQ">