HomePhabricator

DebugNamesDWARFIndex: fix handling of compressed sections

Description

DebugNamesDWARFIndex: fix handling of compressed sections

This fixes a silly bug where we were accidentally freeing the memory
used to store the decompressed .debug_names data. I had actually
considered this scenario when writing the class and put appropriate
precautions in place -- I just failed to wire it all up correctly.

This was only an issue for compressed sections because in case of
uncompressed ones we would access the data straight out of the mmapped
object file.

Details

Committed
labathJun 14 2018, 7:41 AM
Parents
rL334716: [scudo] Make Secondary linker-initialized compliant
Branches
Unknown
Tags
Unknown