dblaikie added a comment. Worth using the extra storage like that? I guess a type-erased range is a bit much, but what about a callback-based API? ("forEachTypeSection(function_ref<void(DWARFSection&)>)") https://reviews.llvm.org/D35324