Commit f6bbbcc
committed
[lldb][DWARFASTParserClang][ObjC] Remove workaround for old ObjC DWARF (llvm#120218)
With all the recent versions of Clang that I tested, ObjC forward
declarations like
```
@Class ForwardObjcClass;
```
don't emit the kind of DWARF that this workaround was put in place for.
Also, zero-sized structures are valid in C (and thus Objective-C), so
this workaround makes things confusing to reason about when mixing the
two languages.
This workaround has been in place for at least a decade, and given that
recent compilers don't produce this anymore, we think it's a good time
to remove it.
(cherry picked from commit 794cd81)1 parent dd0f3b2 commit f6bbbcc
File tree
1 file changed
+0
-14
lines changed- lldb/source/Plugins/SymbolFile/DWARF
1 file changed
+0
-14
lines changedLines changed: 0 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1810 | 1810 | | |
1811 | 1811 | | |
1812 | 1812 | | |
1813 | | - | |
1814 | | - | |
1815 | | - | |
1816 | | - | |
1817 | | - | |
1818 | | - | |
1819 | | - | |
1820 | | - | |
1821 | | - | |
1822 | | - | |
1823 | | - | |
1824 | | - | |
1825 | | - | |
1826 | | - | |
1827 | 1813 | | |
1828 | 1814 | | |
1829 | 1815 | | |
| |||
0 commit comments