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

    <tr>
        <th>Summary</th>
        <td>
            dsymutil doesn't support -- and therefore clang -g is broken for some files
        </td>
    </tr>

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

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

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

<pre>
    - Take any valid C program and save it to a file called `file.c`.
- `clang -g -v -o -file file.c`
- It calls `dsymutil -o -file.dSYM -file`, which prints:

```
error: no input files specified
```

(tested with Homebrew llvm 15.0.6 and hand-compiled b70bbaaaa9d9a230f45453b4d792637ee19c0ddc)

The only real solution to this is for `dsymutil` to support `--` and for `clang` to use it.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxsUk2TnCAQ_TV46dJCUBwPHja7NZUccspeckRolSyKBTiT-fcpmMlkD6myULrf64_nkyGYeUMcSPuFtG-FPOLi_LCb32jVGnUxOn0bSniXHwhyu8FFWqPhFXbvZi9XkJuGIC8IJkJ0IGEyFkFJa1EDETRdK0UErQh9I_SlTEFl5TZDOUN5gdJBmTlP5F_gt5jrhMTQ4bYe0dgnvNI_fn6_fyYKe4XrYtQCuzdbDIS_3Ks8TkEfT76i984T_gKbA7PtR8y9A4QdlZkM6v-yHic7RQwRNVxNXOCrW3H0eAVrLyvUbUUrkTVZ5KZL5dbdJCHGjo6jlFL2upeM06lpm5aPje56JniHWPeKaq0I6z83e18Q3GZv4FFaCM4e0bgt6RwXE8AEmJz_LA8RNGXDse_Ox5QpyxRLEz2gWfsH7gjpv1WFHrjueS8LHGrRUU7rlotiGTpkqqnbHlFrOU3Ia8WUUA1tRNuMghdmYJSxmlFBG35qRdUq0XHVnU51wxvaNqShuEpjq6RP5fxcmBAOHNqet3Vh5Yg2ZO8xtuEVcpIwlqzoh8Qpx2MOpKHWhBj-VYkmWhyertAOw0ZYF5-rl2VeOi7ocXIe4ek5E2D07gO3rEhw6916oTi8HZYY9-wedibsPJu4HGOl3ErYOfV-vMrdu1-oImHnPHEg7Jw3-hMAAP__az0Hng">