folly: allow folly::init to build on systems without the symbolizer (macOS)
authorWez Furlong <wez@fb.com>
Wed, 20 Jul 2016 17:58:54 +0000 (10:58 -0700)
committerFacebook Github Bot 8 <facebook-github-bot-8-bot@fb.com>
Wed, 20 Jul 2016 18:08:22 +0000 (11:08 -0700)
commit8cf0c3e0f10e74e89f0b868e4168ec019ed9b998
tree303b1b4246a840b904fb82c76a0e70c759ec9c64
parent5ab482b114b9872530b297e30bf1dde404848dbe
folly: allow folly::init to build on systems without the symbolizer (macOS)

Summary:
This makes folly/init/Init.cpp compile on macOS by leveraging
equivalent functionality in the glog library when the folly symbolizer is not
available.  This is true for macOS and also for Windows.  I haven't done
anything to handle Windows in this diff.

Reviewed By: yfeldblum

Differential Revision: D3585509

fbshipit-source-id: 2e0c29520a53826acbf656a7a02659b4e905802f
folly/init/Init.cpp