[PATCH] D59184: [runtime] Use --strip-all rather than --strip-sections
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 9 18:23:51 PST 2019
phosek created this revision.
phosek added reviewers: jakehehrlich, juliehockett, smeenai.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
We need to preserve section headers for shared libraries.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D59184
Files:
llvm/runtimes/llvm-strip-link.in
Index: llvm/runtimes/llvm-strip-link.in
===================================================================
--- llvm/runtimes/llvm-strip-link.in
+++ llvm/runtimes/llvm-strip-link.in
@@ -19,7 +19,7 @@
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=',
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59184.190001.patch
Type: text/x-patch
Size: 403 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190310/f83a7965/attachment.bin>
More information about the llvm-commits
mailing list