Mapping machine addresses to source file and line numbers.

new topic     » topic index » view thread      » older message » newer message

Going back to basics, from a carte blanche design perspective, how might you best achive this?

Obviously the compiler reads the source so knows some line numbers, and generates the corresponding binary,
so at some point, somehow, somewhere, it should be able to save whatever you need in some suitable structure.

Performance at the point of use is not an issue, but (packed) size and initial build speed probably are.

Choose anything from flat tables, binary and other trees, dictionaries, or whatever else might be useful.

PS The current mechanism is per-routine (including implicit file subroutines) packed delta offset tables(!).

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu