RFR: 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
Mandy Chung
mandy.chung at oracle.com
Wed Feb 13 23:36:32 UTC 2019
On 2/13/19 1:04 AM, Severin Gehwolf wrote:
>> --strip-native-debug-symbols no-keep-debuginfo
> --strip-native-debug-symbols strip-debuginfo
> --strip-native-debug-symbols remove-debuginfo
>
> It would avoid using negation.
What about 'omit', i.e.
--strip-native-debug-symbols omit-debuginfo
--strip-native-debug-symbols keep-debuginfo=<ext>
> Sure. I've filed JDK-8218913 for doing this first. Would a name of --
> strip-java-debug-symbols be acceptable? My thinking is that it would
> have nice symmetry with --strip-native-debug-symbols. Thoughts?
--strip-native-debug-symbols is okay.
Having a second thought, javac -g and gcc -g both say "debugging
information". I think we could go with:
--strip-java-debug-info
--strip-native-debug-info omit-debuginfo
--strip-native-debug-info keep-debuginfo=<ext>
unless anyone thinks `-debug-symbols` is better?
The options are getting pretty good now.
Mandy
More information about the jigsaw-dev
mailing list