OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df9bea7
)
[runtime] Use --strip-all rather than --strip-sections
author
Petr Hosek
<phosek@chromium.org>
Sun, 10 Mar 2019 04:26:54 +0000
(
04:26
+0000)
committer
Petr Hosek
<phosek@chromium.org>
Sun, 10 Mar 2019 04:26:54 +0000
(
04:26
+0000)
We need to preserve section headers for shared libraries.
Differential Revision: https://reviews.llvm.org/D59184
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355783
91177308
-0d34-0410-b5e6-
96231b3b80d8
runtimes/llvm-strip-link.in
patch
|
blob
|
history
diff --git
a/runtimes/llvm-strip-link.in
b/runtimes/llvm-strip-link.in
index
f9f6a98
..
a7b8c56
100755
(executable)
--- a/
runtimes/llvm-strip-link.in
+++ b/
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=',