<div dir="ltr">What does llvm-dwarfdump tell you?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 28, 2020 at 8:57 AM Jerome Forissier via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
In a 32-bit ARM build, I am seeing the following warning (edited for<br>
simplicity, I can provide full logs if necessary):<br>
<br>
> llvm-objdump -l -d -x file.elf<br>
> llvm-objdump: warning: 'file.elf': failed to parse debug information for file.elf<br>
<br>
<br>
All object files and static libraries seem to have debug info (i.e.,<br>
llvm-objdump does not complain when run on each file individually and<br>
the disassembly output shows file/line information).<br>
<br>
In order to identify where the ELF file is lacking debug info, I added<br>
some debug traces to llvm-objdump and it seems the following symbol is<br>
the culprit: __ThumbV7PILongThunk_<my_func><br>
<br>
Is this expected behavior? How to fix it?<br>
<br>
LLVM version is llvmorg-11-init-12683-g54b3f91d205 but AFAICT anything<br>
above 10.0 behaves the same.<br>
<br>
Thanks,<br>
-- <br>
Jerome<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>