<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/63178>63178</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
llvm-symbolizer --markup-filter does not adjust addresses without debug info
</td>
</tr>
<tr>
<th>Labels</th>
<td>
good first issue,
tools:llvm-symbolizer
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
mysterymath
</td>
</tr>
</table>
<pre>
If a lookup for debug info fails when symbolizing a log containing markup, a raw representation of the element is printed instead of a best effort version of the value. This makes sense for syntactic or semantic errors, but in cases where debug info simply cannot be found, there is still a good deal of information that the filter can print simply through the contextual markup elements. In particular, it can print addresses adjusted by the runtime memory layout of the process, which makes it easier to e.g. objdump the addresses later.
Reference:
[llvm/lib/DebugInfo/Symbolize/MarkupFilter.cpp](https://github.com/llvm/llvm-project/blob/556c9e66ad244ae12d1fc80e5e3ea5cd438f8e69/llvm/lib/DebugInfo/Symbolize/MarkupFilter.cpp#L272)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUU8GO6zYM_Br5QqzhyLHjHHzoe0GABdpL2x-gLdrWriwZIrXb9OsLOVls0Nu7BDFNDmfGQ2S2syfqVfNDNZcCkywh9uuNheJtRVmKIZhb_zoBggvhPW0whQiGhjSD9VOACa1j-FzIA9_WITj7r_Xz3j7DGLyg9bmwYnxPm9I_ASHiJ0TaIjF5QbHBQ5hAFgJytJIXsAxbtF7IgPUshCZ3IAzEAjRNIQp8UOSn0Q90iUr4e7EMK74TA5Nn2vnyzQuOYkfID7Siz_8pxhA5UxqSgPUwItOuJdKzRLbr5m4wovdBYMiQyZs8J3urZWCxzgHCHIIBQ-gyqzwc17s-WVB2mpN1QjGD3RV-ocsSQ5qXvSfbRv9IQvew7csXLuHVw4ZR7JgcxszByhMYGhOJswo0b4mzf8Ntx4zJi10JVlpDvIHDW0jy5d0Ww0i8W_G52HF5GGgFCNlSBAlA5VxCGN5MWrd96HuXQ6FYquqiqt_uv3_SRJH8SKp-VFTzw7mPVemrs4PS10v299VPQenrX4_gkNLXP3bB192lctw21VyU7haRjTOWvip9na0saSjHsMM9UN3H-rLF8EajKH0dXMhbmqYdz9S2aPTxiHTQ5jCNXUUN1YTNaI51N3XUnp9wfo2drn_XJ630uTB9bc71GQvqD23XHk6dbrpi6Ws03fk8VOZwOFHbVmhOtT6PSEdzHg40FbbXla6rtjpp3VRNV2o6Hpvj4WSqVnfYkTpWtKJ1ZaZYhjgXljlR39aHU1c4HMjxfsFa7_mbbOR8QpxIaa30T6W1hOCygbtNX4dKMb9vLkXs9_qQZlbHylkW_l4mVhz1_xuEl5d7NF8egTaBGPJ93IP3lI5PK0vO2vdFFSm6_pc_6S6Ilb7uuv8LAAD__4I7oRA">