If an input DICompileUnit is completely empty (e.g., the result of
running "clang -g" on an empty file), we don't bother emitting an empty
DWARF CU. When we do that, we must make sure we don't also emit a DWARF v5
name index, as DWARF specifies that each index must reference at least
one compilation unit.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Other than the inline comment this LGTM
lib/CodeGen/AsmPrinter/AccelTable.cpp | ||
---|---|---|
370 ↗ | (On Diff #141616) | Why not put this at the top like a pre-condition? Maybe also add a message? |
lib/CodeGen/AsmPrinter/AccelTable.cpp | ||
---|---|---|
370 ↗ | (On Diff #141616) | No particular reason. I agree it looks better at the top. |