Last week + today -----------------
Time spent on elfutils: ~50%
writer: * Emit .debug_ranges * Emit .debug_loc * dwarfcmp ./a.out ./a.out.out now works
It's on pmachata/dwarf-writer.
Next in plan ------------
* Merge in dwarf branch.
* Make dwarfcmp work for bigger files.
* We can't optimize certain references right away. For these we now pick the biggest form available. We could shrink these fields afterwards. But the codebase is not ready for this, e.g. gaps have to be able to move, size of ElfData has to be patched, etc. So work on preparing these bits, they will be useful later.
PM
The dwarf branch seems broken. The dwarfcmp tests all fail (sigabrt, sigsegv). Roland, is that anything that you know about? I'll postpone my merge for a bit.
I didn't realize I'd pushed anything that would break it. I've been working (round and round) locally on getting the construction right in all the weird cases. I only committed things separately and pushed those when I thought they were separate fixes that would not destabilize things.
I also merged from 0.143 and did some fixes related to the ranges/location botches you were seeing. I certainly tested that those fixed those botches. But I probably didn't try any actual dwarf_output stuff or make check.
I'll see if it's something straightforward. If it's the general dwarf_output::copier mess, then I won't try to fix it quickly now but should get my work on that together RSN.
Thanks, Roland
The location/ranges fixes I did the other day uncovered an old braino in dwarf::attr_value::what_space. I fixed that, and the dwarfcmp-self tests pass again. The dwarfcmp-test (i.e. dwarf_output) cases are still crashing but I'm not going to touch that in hopes I can just replace that mess soon enough with the new code I've been working on.
Thanks, Roland
30.09.2009 09:31, Roland McGrath wrote:
The location/ranges fixes I did the other day uncovered an old braino in dwarf::attr_value::what_space. I fixed that, and the dwarfcmp-self tests pass again. The dwarfcmp-test (i.e. dwarf_output) cases are still crashing but I'm not going to touch that in hopes I can just replace that mess soon enough with the new code I've been working on.
Ok, then I won't merge until you're done with that. No big deal.
PM
30.09.2009 12:42, Petr Machata wrote:
30.09.2009 09:31, Roland McGrath wrote:
The dwarfcmp-test (i.e. dwarf_output) cases are still crashing but I'm not going to touch that in hopes I can just replace that mess soon enough with the new code I've been working on.
These bugs are still present, and dwarf branch hasn't changed since then. What's the status of this? After I get through my RHEL packaging work, I'll want to work on writer some more. I wonder how to proceed at this point--is your code in a state that I could work on finishing it? Or should I work on fixing dwarf branch instead?
PM
I have updates I haven't pushed, but I have indeed gotten delayed by other stuff for a while. I'll have something new tonight or tomorrow.
elfutils-devel@lists.fedorahosted.org