<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/137191>137191</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[llvm-profdata] Fails sometimes with quoted file names to deal with spaces in paths
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
bartlettroscoe
</td>
</tr>
</table>
<pre>
## Description
When trying to deal with a project that uses spaces in its directory names, I came across a problem where I got errors like:
```
error: "./Utilities/KWIML/test/2827698.profraw": No such file or directory
```
where this was the first quoted file path passed in.
Are there automated tests for `llvm-profdata` (and the other `llvm-xxx` tools) that test if the can handle paths with spaces and quotes?
NOTE: I this this problem why trying to summarize coverage for the [CMake code-base itself](https://gitlab.kitware.com/cmake/cmake). I can provide instructions for the latter that will be sure to reproduce this problem.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxkk8-O4zYMxp9GvhBjKPKf2AcfspsaGLS7vbTYM20zsTqylYr0ZKZPX8g2NjMtYFgHiuQn_vghs73ORI0qvqjinOAiow9Nh0EciQTPvaek88N7o0ymTAZn4j7Ym1g_K31S-vRjpBkkvNv5CuJhIHRwtzICwi34v6gXkBEFFiYGvmFPDHYGKwyDDdSLD-8w40SszFd4hh4nAuyDZ95KdI4muI8UCJ7h6gUoBB8YnH0hlZ02FarU-6dPa1xlJ1DGpMq0f4p1Vmxs0P764_nbb8q0QizKtKYyx7Ku0lvwl4B3ZUzM--6Bl36Ei3UEPjx0_qeR0qdNl4yW4Y4MMhJcbGCBvxcvNGwlbigj3JCZBrBzumWe1ryYjYv4CePtqIrh4gOoUjv3Oj1FYQMKqlKDMhXOw9rDx8yfl97e3mJcvHesTL3NO9YCe1mv9zjDiPOwa-EN0A4j1lzVssraTdv33__4JQ7ieXvZ-nuQeP-Am5dpwmD_Iej9KwW80io_NlXFl6_f8CVGBnrqkClCJ3dRxVmZahS5ceRnWmXaqxWHXfpi5Y6B0t5PyrT9hC_0OOsU1v2Yo5ZXOxDYmSUsfVxG_tnXoQiFbQh36xx0BLzEaXsIdAt-WHr69KZIJBmabKizGhNqDse8KHSldZGMDZWXoT4WOq8xr-tKY5UXWOWl6UyNhzJPbGO0KXRu8kNhtM7SsqRO18esrDrTHbFSuaYJrUsjrNSHa2KZF2oO2fFQHxKHHTleHWjMTHdYo3EVi3MSmpVwt1xZ5dpZFn6UEStute7nVSnO0KJ1DOwnEjvRzvvjSq6G--zXhzfXHUmW4Jr_QRqXbocTe-7H0250ZdpVezTa_rjXxvwbAAD__w4SdQI">