Skip to content

Length calculation in objwriter looks suspicious #78409

Closed as not planned
Closed as not planned
@agocke

Description

@agocke

The value being written here is Len + 1, but the spec seems to imply that it should be just Len, similar to the issue in dotnet/llvm-project#317

https://github.com/dotnet/llvm-project/blob/5a92ffdc33b2acdf60e2d2ca5542990fa2148bfb/llvm/tools/objwriter/debugInfo/dwarf/dwarfGen.cpp#L455

This should be reviewed and verified.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions