[PATCH] D40689: [llvm] Add install-distribution-stripped

Shoaib Meenai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 4 12:21:33 PST 2017


smeenai added a comment.

In https://reviews.llvm.org/D40689#942918, @phosek wrote:

> Also, how is this supposed to interact with `LLVM_EXTERNALIZE_DEBUGINFO`?


The two are pretty orthogonal IMO. `LLVM_EXTERNALIZE_DEBUGINFO` controls the stripping of binaries in the build tree; this controls the stripping of binaries in the install tree. Since the binaries in the build tree are what get installed, `LLVM_EXTERNALIZE_DEBUGINFO` would also result in the installed binaries being stripped, but kinda indirectly. `LLVM_EXTERNALIZE_DEBUGINFO` also doesn't strip global symbols (it performs `strip -gx`) whereas this does, and the difference can be substantial in some cases (e.g. on my clang build `strip -s` saves 3 MB on top of `strip -gx`).


https://reviews.llvm.org/D40689





More information about the llvm-commits mailing list