Open
Description
I haven't been running debuginfo tests locally for a long while due to a variety of issues, but I was surprised to get only 1 failure, src/test/debuginfo/issue-22656.rs
with LLDB:
python2.7: /home/eddy/Projects/rust-2/src/llvm-project/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp:603:
void (anonymous namespace)::CGRecordLowering::clipTailPadding():
Assertion `Prior->FD->hasAttr<NoUniqueAddressAttr>() &&
"should not have reused this field's tail padding"' failed.
If I had to guess, LLDB was trying to compile something as C++, and probably ran into something that's different in Rust (is it synthesizing C++ struct
/union
definitions from DWARF?).
EDIT: this is the test, and, well, this looks like a regression?
rust/src/test/debuginfo/issue-22656.rs
Lines 1 to 49 in bea0372