projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b54f7b5
)
Leave function name symbols in binaries when stripping out debug information.
author
Brian Robbins
<brianrob@microsoft.com>
Tue, 5 Apr 2016 20:18:45 +0000
(13:18 -0700)
committer
Brian Robbins
<brianrob@microsoft.com>
Tue, 5 Apr 2016 20:18:45 +0000
(13:18 -0700)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
1a4e1e4
..
57951e6
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-303,7
+303,7
@@
function(strip_symbols targetName outputFilename)
POST_BUILD
VERBATIM
COMMAND ${OBJCOPY} --only-keep-debug ${strip_source_file} ${strip_destination_file}
- COMMAND ${OBJCOPY} --strip-
unneeded
${strip_source_file}
+ COMMAND ${OBJCOPY} --strip-
debug
${strip_source_file}
COMMAND ${OBJCOPY} --add-gnu-debuglink=${strip_destination_file} ${strip_source_file}
COMMENT Stripping symbols from ${strip_source_file} into file ${strip_destination_file}
)