This patch adds support for atomic types (DW_TAG_atomic_type) to LLDB. It's mostly just filling out all the switch-statements that didn't implement Atomic case with the usual boilerplate.
Thanks Pavel for writing the test case.
Paths
| Differential D71183
[lldb] Support for DWARF-5 atomic types ClosedPublic Authored by teemperor on Dec 8 2019, 11:52 PM.
Details
Summary This patch adds support for atomic types (DW_TAG_atomic_type) to LLDB. It's mostly just filling out all the switch-statements that didn't implement Atomic case with the usual boilerplate. Thanks Pavel for writing the test case.
Diff Detail
Event TimelineComment Actions Looks pretty straight-forward. When I wrote this test, I was expecting that an "atomic struct" would be "invalid input". Given that this is actually a thing, it would be nice to add some members to the struct to show that can be displayed too, but I can also do that afterwards...
This revision is now accepted and ready to land.Dec 9 2019, 1:11 AM Closed by commit rGd0fb7a478df1: [lldb] Support for DWARF-5 atomic types (authored by teemperor). · Explain WhyDec 9 2019, 1:53 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 232776 lldb/include/lldb/Symbol/ClangASTContext.h
lldb/include/lldb/Symbol/CompilerType.h
lldb/include/lldb/Symbol/Type.h
lldb/include/lldb/Symbol/TypeSystem.h
lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
lldb/source/Symbol/ClangASTContext.cpp
lldb/source/Symbol/CompilerType.cpp
lldb/source/Symbol/Type.cpp
lldb/source/Symbol/TypeSystem.cpp
lldb/test/Shell/SymbolFile/DWARF/dwarf5-atomic.s
|
Looks like I didn't remote tabs here. Could you please fix this before submitting?