[Lldb-commits] [PATCH] D97721: [lldb] Support DWARF-5 DW_FORM_line_strp (used by GCC)
Jan Kratochvil via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Mar 2 23:13:05 PST 2021
jankratochvil added a comment.
In D97721#2598798 <https://reviews.llvm.org/D97721#2598798>, @kwk wrote:
> @jankratochvil out of curiosity. Can you give a pointer to what the C program looks like that produces the object code?
int main() {}
Fedora Rawhide: gcc -o main.s main.c -gdwarf-5 -S -gno-as-loc-support -dA
But it is hand edited, Besides DWARF simplification I removed the .text assembly instructions (and put `.long 0` there) to make it arch-independent which was my original intention. But then I remember the DWARF assembly is not fully arch-independent anyway so to prevent some false failures in buildbots again I kept there that `# REQUIRES: x86` anyway. One could try to remove the REQUIRES if one really wanted to test the bots. Still I am not sure if it did not cause any buildbots failure as the buildbots are down these days, incl. Apple Green Bot.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97721/new/
https://reviews.llvm.org/D97721
More information about the lldb-commits
mailing list