mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +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:
parent
790f1df49a
commit
9cf643c771
@ -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=',
|
||||
|
Loading…
Reference in New Issue
Block a user