Now that dsymutil can generate accelerator tables, we can upstream the
update logic that, as the name implies, updates the accelerator tables
in an existing dSYM bundle. In combination with -minimize this can be
used to remove redundant .debug_(inlines|pubtypes|pubnames).
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
Couple nitpicks inline :-)
llvm/tools/dsymutil/DwarfLinker.cpp | ||
---|---|---|
512 | Comment about what this function does? | |
517 | should this be a loop instead of recursion? We previously ran into stack limits with dsymutil... | |
723 | doxygen comment? | |
llvm/tools/dsymutil/dsymutil.cpp | ||
90 | Does this need to go into the manpage, too? |
I have to admit that I didn't measure its impact, but it's how it's currently implemented on our internal branch. The DwarfLinker isn't exactly super fast and obviously we don't want to risk it becoming slower for this (really unlikely) update path. If you're really opposed to this I can do some measurements. but in the end I don't think it hurts readability/maintainability which motivates me to err on the side of caution.
Comment about what this function does?