Community
Participate
Working Groups
the originally committed fix for the case where the compiler fixes up a scope highAddr that is less than the scope lowAddr made use of the separate package ModuleLineEntryProvider to get the line-number information. but the reader already maintains the currentCompileUnitScope, and the line info associated with that is already scoped by address to be in the same range as the scope highAddr we are attempting to fix up. the attached patch used the currentCompileUnitScope line entries, which: a] pre-parses a lot less of the LNT to get the smaller set of entries needed b] removes the dependency on ModuleLineEntryProvider (and its inefficiencies) currently, this fix (not to mention the overriding bug that led to the original fix) is only known to affect DWARF generation for the symbian compiler, though the fix should be appropriate for any case where the LNT info is correct but the high address for the scope is calculated to be less than the low address.
Fixed in http://git.eclipse.org/c/cdt/org.eclipse.cdt.edc.git/commit/?id=c1153ae0b723005dbccf6251064d4d4b0ae22731 (though I can't change the status on this bug)
(this is part of a batch change) The Eclipse CDT EDC (https://wiki.eclipse.org/CDT/cdt-debug-edc) is now obsolete and has not had any active development since 2011. Therefore the still open bugs are being marked as wontfix. The git repo for the project still exists for posterity at https://git.eclipse.org/c/cdt/org.eclipse.cdt.edc.git/