<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/69156>69156</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[llvm-debuginfo-analyzer] Use a lit test instead of a unit test for the logical readers.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
debuginfo,
tools:llvm-debuginfo-analyzer
</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-1324376
As the DebugInfoLogicalView library is sufficiently exposed via the llvm-debuginfo-analyzer tool, follow the LLVM general approach and
use LIT tests to validate the logical readers.
Convert the unitests:
[llvm-project/llvm/unittests/DebugInfo/LogicalView/CodeViewReaderTest.cpp](https://github.com/llvm/llvm-project/tree/main/llvm/unittests/DebugInfo/LogicalView/CodeViewReaderTest.cpp)
[llvm-project/llvm/unittests/DebugInfo/LogicalView/ELFReaderTest.cpp](https://github.com/llvm/llvm-project/tree/main/llvm/unittests/DebugInfo/LogicalView/ELFReaderTest.cpp)
into LIT tests:
llvm-project/llvm/test/DebugInfo/LogicalView/CodeViewReader.test
llvm-project/llvm/test/DebugInfo/LogicalView/ELFReader.test
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzEVM1u4zwMfBr5ItSw6Z8kBx_SJAYKpJeiX--0RSf6oEiGJKfNPv3CcvOzaHvo9rAXIbFGQ3JIDjond5qoYsU9K9YRDn5vbLVCq4xbqoasNxvdSmeixohTtXnzFltPgnfWHDgr7pU6HhjU3hjlGNTj3ztBzbCTujN3qFGdfpFlUD9tluvHTezfPCvWDOZ773vHsiWDmkG9k34_NHFrDu8kZ67emv-p9QzqRpmGQX1Aqa-Yb8WFBUvWLFn-GdrSUdKri0eK2Ngdg3qdQjGbZwwyqZXUdJdmkGezcno-nUvH_Z74eoz5oDuzNTvZonqR9MqVbCzaE5eOu6HrZCtJe3Xi9NYbR4IfJYbHX2TNx6oYrHhnlDKvAbrdvjzyHWmyqDj2vTXY7jlqMWUzOOLbh2fuyXnHveFHVFKgpynOlBu3hIKsi2_rWBl9JOsDbtAyEIzahMtzh2_a8C78CJ2wUF80YFDfyMCgXhlB48-nEPiZnI_bvv_LAfCW6MMA_CiP80D8tMzNtv7XFX5M4VzcdErtzXVCrg3-vOwR9A1B44D_EeEl_xuuSFSZWGQLjKhKy8Usz_M8XUT7KkmgyNu2pXmZ5m2Sijl1ogUUiElZpEkkK0ggS5O0TOaQpIsYoIXZbD4XghIsO2R5QgeU6rL1kXRuoKpcpEUZKWxIuWCKAJf9ZAAMVgxgMp1s-aXpwOiltgr3zbBzLE-UdP7qMZGXXgXX_YqjWPP_HHHkSvrQMy6184SCm45j2NTpc2fspzseDVZV357AoMI4aUGI3wEAAP__k1QLiA">