Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BOLT][DWARF] Fix line info for empty CU DIEs
Summary: In some rare cases a compiler may generate DWARF that contains an empty CU DIE that references a debug line fragment. That fragment will contain no file name information, and we fail to register it. Then, as a result, DW_AT_stmt_list is not updated for the CU. This may cause some DWARF-processing tools to segfault. As a solution/workaround, we register "<unknown>" file name for such debug line tables. (cherry picked from FBD9526705)
- Loading branch information