diff options
| author | Petr Hosek <phosek@chromium.org> | 2019-03-10 04:26:54 +0000 |
|---|---|---|
| committer | Petr Hosek <phosek@chromium.org> | 2019-03-10 04:26:54 +0000 |
| commit | b68566aec32d7bf361a51183b4f161d14e50f0c6 (patch) | |
| tree | 462926886119b4e9f4465282856c8cb4c7002fbb | |
| parent | e72381990e573d69afa25fd643e0f1e1ce9584e3 (diff) | |
| download | bcm5719-llvm-b68566aec32d7bf361a51183b4f161d14e50f0c6.tar.gz bcm5719-llvm-b68566aec32d7bf361a51183b4f161d14e50f0c6.zip | |
[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
| -rwxr-xr-x | llvm/runtimes/llvm-strip-link.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/runtimes/llvm-strip-link.in b/llvm/runtimes/llvm-strip-link.in index f9f6a9883df..a7b8c567faf 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=', |

