<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/57451>57451</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
llvm-driver: `LLVM_TOOL_LLVM_DRIVER_BUILD=ON` makes `clang -print-resource-dir` emit relative path
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
yuanfang-chen
</td>
</tr>
</table>
<pre>
`clang -print-resource-dir` should be an absolute path to the build dir. Otherwise many lit tests in `check-clang` would fail because the resource directory is invalid.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyFkU9v4yAQxT-NuSBbBpvUPXBolV2pUnYjVW2vEYaJzRabiD-p8u13cFvtcSUkGA383pvH6M1NVrtWO7VOtL4Eu6Y6QPQ5aKiNDdijcfbZGToCVStVY_QuJ6AXlWaaPE0z0DFbvIDXG3rEOnzYCHRR6406m2iCmCK1Ky1CM-j3epMr6I-NfFbWIV6rjM8K79tBQYJOPtyoLYSrctY0BCTb7dgw8H7gxMjO3Hf3iiSbHEjnrkttgr1CqLqHInk4vP06vRyPh9N22j8_vf14Pj2-Ph32Vbc__i4-FvUOkf4vCFhwmgBOJcRvAZAcnJxTukQUq_hPXJNNcx4b7RcsipuvDZn-Dw6DpY0xQ8SDuOsFI7NkZ6XNsBvOumWCC2GEMZ0Shps7wwYtiFMjuCgr8ViJPbGSt5y3Q9eyoWWcN71hBtjIO97CAH1X9S0sGGpThBsfJhI-gxnzFLHpLP7Iv6aK0U4rwDdf5TT7IG9ZrWeMo8ZPW8lmWm6O_wKXUrq3">