Actions
Bug #2942
closedCTF tools need to handle files which legitimately lack data
Start date:
2012-06-28
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
There are, within our source trees, files which compile to nothing (who can imagine why).
The CTF tools need to handle the possibility that a source file may legitimately have no type data because it has no code, as the compiler may choose to emit either an empty CU, or no CU at all in this case.
Related issues
Updated by Rich Lowe almost 10 years ago
The fix I have for this employs a simple heuristic "any file which contains executable text must also contain actual DWARF type data". The presumption being that writing actual code such that no DWARF is emitted is impossible.
Updated by Rich Lowe almost 10 years ago
- Status changed from New to Resolved
- % Done changed from 50 to 100
Resolved in r13745 commit:6b3106b4250f
Actions