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

    <tr>
        <th>Summary</th>
        <td>
            "In file included from" lines don't respect `-fdiagnostics-absolute-paths`
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          stk-ableton
      </td>
    </tr>
</table>

<pre>
    The "In file included from ..." lines of diagnostics contain relative paths even when `-fdiagnostics-absolute-paths` is given.

Reproduction:
```
mkdir /tmp/clang-test
cd /tmp/clang-test
echo '#include "x.h"' >x.cpp
echo '#warning abc' >x.h
clang++ -fdiagnostics-absolute-paths x.cpp
```

Current output:
```
In file included from x.cpp:1:
/tmp/clang-test/x.h:1:2: warning: abc [-W#warnings]
```

Expected output:
```
In file included from /tmp/clang-test/x.cpp:1:
/tmp/clang-test/x.h:1:2: warning: abc [-W#warnings]
```

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy8k0GPmzwQhn_NcBmBzDiQ5MBh8-0ifdeqUs8GD-CuYyPbZLf_viJJm1W7WVU9VEIG7HfG7zOjUTGa0TE3UB2geszUkiYfmpiec9VZTt5lndffms8TIxD973AwltG43i6aNQ7BH7EoCiBCaxxH9ANqo0bnYzJ9xN67pIzDwFYlc2KcVZoi8okdvkzsEGqRD28ictVFb5fE-VkJtUATcTQndgWIRxAPl_UTz8HrpU_GO5DXTajF9Tn_Hp-1CQjUpuMM1PZWuTFPHNPluNf3z7ifPAJtgeQVduV_LSYgAtoiyKfXop_n39QvKjjjRlRd_1M3Xe9b7wA6AB3wI2Z8k_kXosv63xICu4R-SfOS7tG_36xLbvlQ3sLeqQG1q-uLikA-4BVr_VRdj1Ad8i832gjV4wd-n15n7hPrvzJ8z96_xMh0I_Ve7lXGTVnvqorKiupsavSOudrtO1lKMehdLTs9dMNebWknhR6GzDQkSIpKlmJHFdXFRojNZrulkupyr9QAG8FHZWxh7elY-DBmJsaFm1oKqjOrOrbxx3SGZhXl3TJG2AhrYoq3sGSS5ebekN4GVHsHtE0YOK5d-YMBzJZgmymlOa7FphaoHU2alq7o18TtauH6yufgv3K_Vv6MEYHaM8n3AAAA__-On1Z7">