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

    <tr>
        <th>Summary</th>
        <td>
            [clang] No way to recognize lambda expression in DWARF
        </td>
    </tr>

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

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

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

<pre>
    GCC's practice is to mark the `operator()` `DW_AT_artificial`. It does the job and makes perfect sense (i.e., it's a synthesized `operator()` that the user did not declare).

(Older GCC also names the unnamed closing class type, but newer GCC no longer does it, and tools have adapted since then).
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxskk9r3DwQhz-NfBlitPK_9cGHfXfZ8F5aKIUcw1ia2EpkyWjkpLufvshd6KUgkBD85nmGGWS2kycaRPOfaC4FbmkOcbjPdsZwK8ZgbsPz-SxUx7BG1MlqAsuQAiwYPyDNBKKVYaWIKUShjkL1opX58_Lyevr5ijHZN6stOtHKEv5PYALxHnwPI6A3sOAHMawU30gnYPJMINTRllQKdQabdjwC33yaie2dzL-haca0V96YIhhrwIcEhrTDSEL1pZCnfNTxuzMU4fl8BnQcwOPycNp8fhvQLrD1E2iHzJBuK2WVcUvg6esR9QFc8FNG5Zay53lvKIXgGGb8JECDayIDbL2mTPDZozBDZfqqx4KGQ9dUx7rpZVvMg5ayGk1bY0XdKLu26jtqDlVrus7o-tgVdlBSNbKrpKxUI9tybBqllVFj3VFXm1rUkha0rnTucylDnArLvNFwaA6q7QuHIznex62UdugnoVSefBxy4GncJha1dJYT_y2RbHL7jvxJNBf4FuALb3kPIukweXsncLiMBoF-rZGYbfBgPVxeTj-uxRbdMKe0sqhOQl2Fuk42zdtY6rAIdc2gx_W0xvBOOgl13cVZqOvD_XNQvwMAAP__5aDdcQ">