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
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Couple nitpicks inline :-)
llvm/tools/dsymutil/DwarfLinker.cpp | ||
---|---|---|
512 ↗ | (On Diff #132733) | Comment about what this function does? |
517 ↗ | (On Diff #132733) | should this be a loop instead of recursion? We previously ran into stack limits with dsymutil... |
723 ↗ | (On Diff #132733) | doxygen comment? |
llvm/tools/dsymutil/dsymutil.cpp | ||
90 ↗ | (On Diff #132733) | Does this need to go into the manpage, too? |
Comment Actions
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.