libstc++ 11 started using [[no_unique_address]] which crashes LLDB:
echo -e '#include <memory>\nstd::unique_ptr<int> p;'|clang -Wall -g -c -o a.o -x c++ -;lldb -b ./a.o -o 'p p' lldb: clang/lib/CodeGen/CGRecordLayoutBuilder.cpp:742: void (anonymous namespace)::CGRecordLowering::clipTailPadding(): Assertion `Prior->Kind == MemberInfo::Field && "Only storage fields have tail padding!"' failed.
As DWARF does not contain the [[no_unique_address]] attribute the patch adds it to every record member, could it be a problem?
This patch requires: D101236, D103910 and D103966.
This is in fact unrelated patch, it could be 3/3 in the series. It was failing on TestDataFormatterStdUniquePtr.py line 41:
But whole TestDataFormatterStdUniquePtr.py does not yet PASS even with this patch, there are some unrelated other issues on later testcases.