Previously, if a debug line Prologue was created via createBasicPrologue, its TotalLength field did not account for any contents in the table itself. This change fixes this issue.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp | ||
---|---|---|
178 | Oops, this is incorrect. Contents is not a vector of bytes of data, but rather of ValueAndLength entries, which potentially represent different numbers of bytes. I'll post a fix. |
Oops, this is incorrect. Contents is not a vector of bytes of data, but rather of ValueAndLength entries, which potentially represent different numbers of bytes. I'll post a fix.