-
Committer:
Facebook GitHub Bot
-
Author(s):
Yedidya Feldblum
-
Date:
2020-06-06 08:21:55 UTC
-
Revision ID:
git-v1:db54c6bf71b3e781ed44e156e962d7dc40a8305b
Mark _r_debug imports as weak
Summary:
[Folly] Mark `_r_debug` imports as weak imports. `_r_debug` is available in `<link.h>` but is not a portable API, so detect whether it is available at runtime and use it only if it is available.
Fixes: https://github.com/facebook/folly/issues/1373.
Reviewed By: Orvid
Differential Revision: D21911715
fbshipit-source-id: 660c0bc90d405d9a43826e7bdfc3b04480728b66