Revision c0c33a4854587e412742841f199edd4616be6c00 authored by Andrew Kryczka on 28 July 2020, 20:09:12 UTC, committed by Facebook GitHub Bot on 28 July 2020, 20:10:44 UTC
Summary:
`USE_LTO=1` in `make` commands now enables LTO. The archiver (`ar`) needed
to change in this PR to use a wrapper that enables the LTO plugin.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/7181

Test Plan:
build a few ways
```
$ make clean && USE_LTO=1 make -j48 db_bench
$ make clean && USE_CLANG=1 USE_LTO=1 make -j48 db_bench
$ make clean && ROCKSDB_NO_FBCODE=1 USE_LTO=1 make -j48 db_bench
```

Reviewed By: cheng-chang

Differential Revision: D22784994

Pulled By: ajkr

fbshipit-source-id: 9c45333bd49bf4615aa04c85b7c6fd3925421152
1 parent 83ea266
History
File Mode Size
allocator.h -rw-r--r-- 1.7 KB
arena.cc -rw-r--r-- 7.0 KB
arena.h -rw-r--r-- 5.1 KB
arena_test.cc -rw-r--r-- 6.7 KB
concurrent_arena.cc -rw-r--r-- 1.6 KB
concurrent_arena.h -rw-r--r-- 7.6 KB
jemalloc_nodump_allocator.cc -rw-r--r-- 7.2 KB
jemalloc_nodump_allocator.h -rw-r--r-- 2.7 KB
memkind_kmem_allocator.cc -rw-r--r-- 938 bytes
memkind_kmem_allocator.h -rw-r--r-- 788 bytes
memkind_kmem_allocator_test.cc -rw-r--r-- 2.9 KB
memory_allocator.h -rw-r--r-- 1.0 KB
memory_usage.h -rw-r--r-- 864 bytes

back to top