Prevent a crash in folly::Symbolizer
Summary:
dbg and dbgo builds of hhvm with gcc-5 crash when generating
backtraces using folly::Symbolizer, because the .debug_aranges for
libc-2.23.so are SHF_COMPRESSED, and folly::Symbolizer doesn't
recognize that.
Just pretend that the section doesn't exist if it has SHF_COMPRESSED
set.
We might eventually want to support decompressing such sections under
an option - but folly::Symbolizer's goal is to just mmap and walk the
debug info without allocating memory (so that it can run while
handling signals etc).
Reviewed By: pixelb
Differential Revision:
D4586762
fbshipit-source-id:
bef61ed670d1a80caa4f7aac1f80fd2a92cc4ba9