Description
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