<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/69158>69158</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[llvm-debuginfo-analyzer] Eliminate calls to 'getInputFileDirectory()' in the unit tests.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
CarlosAlbertoEnciso
</td>
</tr>
</table>
<pre>
Extracted from [llvm/tools/llvm-debuginfo-analyzer/README.txt](https://github.com/llvm/llvm-project/blob/main/llvm/tools/llvm-debuginfo-analyzer/README.txt)
https://reviews.llvm.org/D125783#inline-1324359
Rewrite the unittests:
[llvm-project/llvm/unittests/DebugInfo/LogicalView/LFReaderTest](https://github.com/llvm/llvm-project/blob/main/llvm/unittests/DebugInfo/LogicalView/ELFReaderTest.cpp)
[llvm-project/llvm/unittests/DebugInfo/LogicalView/CodeViewReaderTest](https://github.com/llvm/llvm-project/blob/main/llvm/unittests/DebugInfo/LogicalView/CodeViewReaderTest.cpp)
to eliminate the call:
getInputFileDirectory()
as use of that call is discouraged.
See: Use a lit test instead of a unit test for the logical readers.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzEVE1v2zgQ_TXUhYggk_o86OBEFhBg95Ld9k5JQ3kKmjTIUZz01xeiHSdt0aJBC_RCieLozbz3OKNCwNkCtKy4ZUWXqIX2zrd3yhsXtmYAT25nRwwuGdz03O6eyKuRYOLauwNnxa0xjwcmenLOBCb6dXszwbDMaLW7UVaZ58_gmegfdtvu311KT8SKjol6T3QMTG6Z6JnoZ6T9MqSjO1xAXrCO3n2CkZjoB-MGJvqDQvsa8668omFZx7Lt16k9PCKcQrpCpM7PTPTdRhRVLZmQaA1auNlIkcvi8vt5fYCTRwJOe-CLRSIIFEHj6Ys0b-q_VPwaK_puLfjeasdE_4-bcVTmI8Jp3fUPoCbw_0P4o3r9Wvbd2_TpeDxepftdXndugvX1b7L7voZvKMYHOQ4GD2jVxeRRGXP19xLKZ6B7e1yoRwMdehjJ-Wcm6ivaeVWBLwG405z2iiIUx8AnDKNbvJphSt-G_wfA5JZ_CMAVN0h8JcXRBgI1rSgqXrnzZ-18rM-cSXIfaYULYDK1cmpkoxJoN2VT5XleV2Wyb6sxhylrJl2OIGudwahlAXmZZ1KXIMoEW5EJuck2ZVaLqijTvMlBay11qQo5acXyDA4KzbVzEgxhgbZsNkWdGDWACXGwCGHhxOMhE2KdM76Ndg7LHFieGQz02n8JIZk4kX7U1EXHd1drVi0DJ8eZqH7mhqg42mu3RulCmizetO--e5HJesci0y8BAAD__771uj4">