1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00

[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
This commit is contained in:
Petr Hosek 2019-03-10 04:26:54 +00:00
parent 790f1df49a
commit 9cf643c771

View File

@ -19,7 +19,7 @@ link_dir = os.path.join(install_dir, 'lib', 'debug', '.build-id')
sys.exit(subprocess.call([ sys.exit(subprocess.call([
llvm_objcopy, llvm_objcopy,
'--strip-sections', '--strip-all',
'--build-id-link-dir=' + link_dir, '--build-id-link-dir=' + link_dir,
'--build-id-link-input=.debug', '--build-id-link-input=.debug',
'--build-id-link-output=', '--build-id-link-output=',