HomePhabricator

[DWARF] Make -g with empty assembler source work better.
Audit RequiredrC355226

Description

[DWARF] Make -g with empty assembler source work better.

This was sometimes causing clang or llvm-mc to crash, and in other
cases could emit a bogus DWARF line-table header. I did an interim
patch in r352541; this patch should be a cleaner and more complete
fix, and retains the test.

Addresses PR40538.

Differential Revision: https://reviews.llvm.org/D58750

Details

Auditors
grosbach
Committed
probinsonMar 1 2019, 12:58 PM
Differential Revision
D58750: [DWARF] Make -g with empty assembler source work better.
Branches
Unknown
Tags
Unknown