According to
https://github.com/llvm/llvm-project/blob/fbcefff9d0a3f5e97270ef8e7b8e0f2afc33dc1c/lldb/source/Symbol/LineEntry.cpp#L215,
a line entry of 0 indicates compiler generated code. Despite it
being generated code, the SBLineEntry.GetFileSpec().IsValid() check
can be true in which case lldb-vscode responds with a non-existent
file named "<compiler-generated>". This patch will instead have
lldb-vscode return the disassembly of the generated code.
Details
Details
- Reviewers
clayborg
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo