rocksdb/buckifier
Yi Wu 77a8d4d476 Detect if Jemalloc is linked with the binary (#4844)
Summary:
Declare Jemalloc non-standard APIs as weak symbols, so that if Jemalloc is linked with the binary, these symbols will be replaced by Jemalloc's, otherwise they will be nullptr. This is similar to how folly detect jemalloc, but we assume the main program use jemalloc as long as jemalloc is linked: https://github.com/facebook/folly/blob/master/folly/memory/Malloc.h#L147
Pull Request resolved: https://github.com/facebook/rocksdb/pull/4844

Differential Revision: D13574934

Pulled By: yiwu-arbug

fbshipit-source-id: 7ea871beb1be7d5a1259cc38f9b78078793db2db
2019-01-03 16:30:12 -08:00
..
buckify_rocksdb.py Update TARGETS file template (#4426) 2018-09-25 14:14:01 -07:00
rocks_test_runner.sh Suppress lint in old files 2018-01-29 12:56:42 -08:00
targets_builder.py Change BUCK template files (#4624) 2018-11-02 14:22:13 -07:00
targets_cfg.py Detect if Jemalloc is linked with the binary (#4844) 2019-01-03 16:30:12 -08:00
util.py Add buckifier script to github repo 2017-04-04 16:24:26 -07:00