LLDB has been failing on binaries produced by new GCC 11.0 with -gdwarf-5.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
@jankratochvil out of curiosity. Can you give a pointer to what the C program looks like that produces the object code? I know GCC might change and no longer produce this code so it's better to have the obj code instead. But still I'm not nearly close to understanding
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.
If you make the function return type void, this will go away.