[Lldb-commits] [PATCH] D131437: Don't index the skeleton CU when we have a fission compile unit.

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 22 16:58:21 PDT 2022


clayborg added a comment.

So I can't get -fsplit-dwarf-inlining to emit anything when I try to cross with clang. I add the flag but no extra function info gets emitted in the dwarf in the main executable. I tried:

  clang++ -gdwarf-5 -gsplit-dwarf -fsplit-dwarf-inlining -c main.cpp -o main2.o 

I also tried to create an simple a.out program with a DWO_ID of zero. If it obj2yaml and then to yaml2obj, something gets messed up in the binary, so not sure if ojb2yaml + yaml2obj can handle fission binaries correctly.

Any ideas?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131437/new/

https://reviews.llvm.org/D131437



More information about the lldb-commits mailing list