Skip to content

debuginfo: LLDB crashes since liballoc is part of the distribution #14356

Closed
@michaelwoerister

Description

@michaelwoerister

It seems that there's a bug in LLDB that causes it to crash when the name of an object file is exactly 16 characters long. Unfortunately we are now running into this bug because of the file "alloc.bc.deflate" created during the build process. I have filed a bug report about this [1], but in the meantime this bug is present in every LLDB version ever [2], so I guess we need to do something about it on our end.

My proposal would be to check if we generate a filename which triggers the bug and if yes, then just add an additional character to it (e.g. "alloc.bc.deflate" -> "alloc.bc.deflate0").

If somebody has a better idea, please let me know. Otherwise I'll implement this next week.

[1] http://llvm.org/bugs/show_bug.cgi?id=19826
[2] Commit message by Chris Lattner: "Initial checkin of lldb code from internal Apple repo." :)
cc @alexcrichton @brson

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions