Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Seems reasonable, thanks!
lib/DebugInfo/DWARF/DWARFVerifier.cpp | ||
---|---|---|
148 ↗ | (On Diff #107712) | extra whitespace |
lib/DebugInfo/DWARF/DWARFVerifier.cpp | ||
---|---|---|
218 ↗ | (On Diff #107712) | Should this be >=? Or is it intentional that empty ranges are allowed to account for things like comdat functions being omitted by the linker & resolving the addresses to zero? (I forget exactly how those work) |
lib/DebugInfo/DWARF/DWARFVerifier.cpp | ||
---|---|---|
218 ↗ | (On Diff #107712) | I assume that this is just copying darwin-dwarfdump behavior, but it also looks like DWARF allows a single DW_AT_low_pc to be attached to a DW_TAG_label, which would then show up as an entity of size 0. (cf. 2.17.1 Single Address) |
lib/DebugInfo/DWARF/DWARFVerifier.cpp | ||
---|---|---|
218 ↗ | (On Diff #107712) | ... and DW_TAG_label is commonly generated from assembler sources. |
lib/DebugInfo/DWARF/DWARFVerifier.cpp | ||
---|---|---|
218 ↗ | (On Diff #107712) | Yes, it should be >= since the case that Adrian describes won't have a highPC attribute to start with. |