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

    <tr>
        <th>Summary</th>
        <td>
            buildpaths generated into .debug_str
        </td>
    </tr>

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

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

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

<pre>
    This attached example is emitting absolute build time paths into .debug_str section when compiled with clang 16.0.1
The path is computed from source file location specified on cmdline. This seems to work ok when `-fno-integrated-asm` is used.

Here is the `strings` output and also `readelf` output.

```
% strings a.o|grep /mnt
(lambda at /mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux-musl/libcereal/1.3.2+gitAUTOINC+ebef1e9298-r0/build/unittests/a.cpp:46197:11)
~(lambda at /mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux-musl/libcereal/1.3.2+gitAUTOINC+ebef1e9298-r0/build/unittests/a.cpp:46197:11)
```

```
% readelf -x 4271 a.o | grep mnt
  0x001bf100 6d626461 20617420 2f6d6e74 2f622f79 mbda at /mnt/b/y
```
[test.tar.gz](https://github.com/llvm/llvm-project/files/11256959/test.tar.gz)


</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzUVMGOpDYQ_RpzKYHsAgwcOPTsCCWX5DI5RwYX4B2DkW0yMznk2yPTM7ub1eaQY6SW26aKV6_ew6VCMMtO1LP6gdWPmTrj6nz_7NXnbHT6rX9aTQAVo5pW0kCvajssgQlAm4nR7AuoMTh7RoLxNFZDNBvBoeIawOzRQaFpPJffQ_QQaIrG7fCy0g6T2w5jScOLiStMVu0LCFnwQjD-yPjtab3DpFop94ykYfZug-BOPxHMxhJYN6kLMxw0mdmQBrfDtGlrdirgYh-ItgDRwYvzz-Ce7_WZ5Pm8u9zskRavIulchY1JngqegXRx53FffyJ_dR1XSm-G6M2-hJTtznicEdSuQdngUtST0mTnr9F_QDHJ33_3I9bwDgeqcKz5tHg6gOGw7fEjpbVqG7UCFT8COIwMhzdH6axCJJ8eJQcYDnE7GA6pXYbD5DxhLqv8zVFuzX6-5tsZLMPBmnEiTyrtRVEWyPBhMfH229OvP__yieEDjTQL6rBrc8-_wT93EyOFGBgOqpiOg5W3SoquYeVNCIbdnfdf_1fi31v0b769Gw35K1TYiOQfsOYTXA5-sQ-Av3IuxllwDlJLlJUUgFyKpkIOOEstqanSBnFuOvixYj9mUT-kfoqofLH8yepHhu0a4xFYeWM4MBwWE9dzLCa3JeHsHx9_-eHdZ5oSfLpJSREhsJZd3SUjvgH9osq1ZrovdVd2KqNeyFY0LUdRZmtPUzvXk5ItL8u5k5XQknjbUVcqMXeTyEyPHEteiZYLwUVZYFnP1LTlKEoqSTWs4rQpY4vEr3B-yUwIJ_USRYeZVSPZcA0qxJ1e4AoyxDS3fH_1NJ5LYBW3JsTwFSWaaKm_voH7YFpop-vKfz-istPb_j_rdxFJAl5E_w4AAP__w2-kNA">