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

    <tr>
        <th>Summary</th>
        <td>
            [LLD] C++20 Modules - unclosed quote
        </td>
    </tr>

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

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

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

<pre>
    As described in the title, it would be the error referring to trying to link using `ld.lld`, unlike other platforms.

This was a test with zig (LLVM 15.0.7) toolchain.
https://gist.github.com/kassane/7e9a2da137e13eb6e1dbab726693bdb7

```bash
$> zig c++ -std=c++20 -fmodules -fbuiltin-module-map -fmodules-ts -Xclang -emit-module-interface -c moduleTest.cpp -o moduleTest.pcm
LLD Link... ld.lld: error: /home/kassane/.cache/zig/o/ec639bf9d5e7c589c4e222dd65d28017/moduleTest.o:995: unclosed quote
```
Fix:

```bash
$> cp $(zig c++ -std=c++20 -fmodules -fbuiltin-module-map -fmodules-ts -Xclang -emit-module-interface -c moduleTest.cpp -o moduleTest.pcm 2>&1 | grep "ld.lld: error" | sed 's/.*error: \(.*\):[0-9]\+.*/\1/g') moduleTest.pcm
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzMVE2PpDgP_jWuiwUKTvGRA4f6GE41t9Gr9xqIC7IdSC0J2zvz61eha6Z7e6U9r4SEY2Pz-Hkc6xDsuDC3UJ6hvB70Fie_ti86BL3woffme3sKaDgMq-3ZoF0wTozRRsdAF7QRX_3mDPa8B3hd_Yor33ld7TJi9BjX70_L2eUFt5BOUAlncucMVCLV2RZnXxh9nHjFh9Px7tc55CBOIE7fJhvwVQfUGDlEfLVxwh92RKDmdvvfVyzKXOQ1kMLovRsmbZeUOsX4CCBPQB1QN9oQ89HGaevzwc9A3bNNoK5mpcnoQtZcSO4rLkyv-5qqSsne9PUbjoR1f3odpnSmI8gvO5IB6Ax0xixEA_L6PJLA7D57szkOmN37zbpol-zNk8368R7OYsDs_4PTy4gZzzb-_Moukde7HhizAd983zjEfHg8MPMfPY9hBnG63a54s8tLnuf4pFie3nRJBlA3-Zn_1n0-6GFKxg87AnUeqOOhkqq_K1NyPZSNGo5MRMZUpaFGFDVQ9-HPHuRJqTLV35bB-cAGf9985I-kgTh19s8kx7-ROTwwWdT8h1hFAvkFqCoQ6guOKyeM9Jlcoj2cegeqQ-IV6PROfHkBapJrt1QiojyLTEF53T3nPUYdlJcijSvQPtH_EPgXcQfTSqOk0gdui6puRCUqURymVvZGM_OdtTFKiUaWVaOau9SlYlGwPNiWBEkhRUmyrI5FXmpdF6KsiQX3Sh3hKHjW1uXO_THnfh0PNoSN26ooVHNwumcX9p1BtPAr7kEgSitkbVNO1m9jgKNwNsTwXmXfGynxdrtCecXLL0W__tTz0wQdttW1ny_yhzucSj9f2WP1v_EQgbodUJJgB_xXAAAA__9sS4F6">