Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign updebuginfo-lldb test failures with lldb 350 on OS X #32520
Comments
tedhorst
referenced this issue
Mar 27, 2016
Merged
Set source file name when setting breakpoints in lldb. #32522
bors
added a commit
that referenced
this issue
Mar 28, 2016
This comment has been minimized.
This comment has been minimized.
|
That's strange. I'll have to get ahold of an OSX system in order to look into that. |
michaelwoerister
self-assigned this
Mar 28, 2016
steveklabnik
added
O-macos
A-debuginfo
labels
Mar 28, 2016
This comment has been minimized.
This comment has been minimized.
|
Update: I was able to reproduce this issue. |
michaelwoerister
referenced this issue
Apr 19, 2016
Closed
debuginfo: Don't emit DW_LANG_RUST unless it's explicitly demanded #33097
This comment has been minimized.
This comment has been minimized.
|
Hello! Not sure how much it will help, but I was investigating similar crashes with llnode, and it turns out that lldb is lying when reporting its version:
In fact it is more compatible to 380, because this commit is present there. I was able to tell that after checking the disassembly of lldb and offsets in vtable that it expects. Anyway, hope this helps! |
bors
added a commit
that referenced
this issue
Apr 22, 2016
bors
added a commit
that referenced
this issue
Apr 23, 2016
This comment has been minimized.
This comment has been minimized.
|
+1 on this issue. I'm finding this is pretty bad for compiler contributors who work on the latest mac. The end result tends to be that "make check" fails, and you're left running all the various checks that run after debuginfo-lldb run by hand. We could put debuginfo-lldb last, so at the very least the other tests run first. |
This comment has been minimized.
This comment has been minimized.
|
I have been using @michaelwoerister's closed pull request #33097, and it is working for me (passes full make check). |
This comment has been minimized.
This comment has been minimized.
|
@tedhorst which lldb are you on? I'm on lldb-350.0.21.9 and I'm still seeing the issue. |
This comment has been minimized.
This comment has been minimized.
|
I'm on the same. I have just been merging #33097 into master, and it has been working for a while. Which issue are you seeing? |
This comment has been minimized.
This comment has been minimized.
|
@tedhorst - oh I missed it wasn't merged yet. I'm seeing:
|
This comment has been minimized.
This comment has been minimized.
|
Do you still get the failures after merging #33097? You may need to do a make clean, not sure. |
This comment has been minimized.
This comment has been minimized.
If I understand this and this right, the latest version of LLDB distributed with XCode should already contain the fix and things should work again. What we could do to mitigate this problem in the meantime is to collect version strings of LLDB versions that don't work and explicitly warn people that they should update, or disable LLDB-based tests if a version known to be broken is found. |
tedhorst commentedMar 26, 2016
I upgraded to Xcode 7.3 which includes lldb version 350.0.21.3. When running make check, all the debuginfo-lldb tests fail like this:
I can fix this by specifying the source file name in the breakpoint command, but then I get a different failure:
Nothing is printed by the print command. This happens with or without the formatters.