libdwarf caches a string table handle, use that instead. This provides
a noticeable speedup when iterating through DIEs, since we would
otherwise do a linear search of all of the DWARF sections looking for
".debug_str" using strcmp().
Details
Details
Diff Detail
Diff Detail
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 25039 Build 23753: arc lint + arc unit
Event Timeline
Comment Actions
The only way it won't be called is if an earlier error occurs during initialization. If there is no string table, then the assertion in the removed code would fail.