From: Petr Hosek Date: Sun, 10 Mar 2019 04:26:54 +0000 (+0000) Subject: [runtime] Use --strip-all rather than --strip-sections X-Git-Tag: llvmorg-10-init~10340 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b68566aec32d7bf361a51183b4f161d14e50f0c6;p=platform%2Fupstream%2Fllvm.git [runtime] Use --strip-all rather than --strip-sections We need to preserve section headers for shared libraries. Differential Revision: https://reviews.llvm.org/D59184 llvm-svn: 355783 --- diff --git a/llvm/runtimes/llvm-strip-link.in b/llvm/runtimes/llvm-strip-link.in index f9f6a98..a7b8c56 100755 --- a/llvm/runtimes/llvm-strip-link.in +++ b/llvm/runtimes/llvm-strip-link.in @@ -19,7 +19,7 @@ link_dir = os.path.join(install_dir, 'lib', 'debug', '.build-id') sys.exit(subprocess.call([ llvm_objcopy, - '--strip-sections', + '--strip-all', '--build-id-link-dir=' + link_dir, '--build-id-link-input=.debug', '--build-id-link-output=',