File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -934,12 +934,8 @@ public static boolean useLIRBackend() {
934934 return "lir" .equals (CompilerBackend .getValue ());
935935 }
936936
937- /*
938- * RemoveUnusedSymbols is not enabled on Darwin by default, because the linker sometimes
939- * segfaults when the -dead_strip option is used.
940- */
941937 @ Option (help = "Use linker option to prevent unreferenced symbols in image." )//
942- public static final HostedOptionKey <Boolean > RemoveUnusedSymbols = new HostedOptionKey <>(OS . getCurrent () != OS . DARWIN );
938+ public static final HostedOptionKey <Boolean > RemoveUnusedSymbols = new HostedOptionKey <>(true );
943939 @ Option (help = "Use linker option to remove all local symbols from image." )//
944940 public static final HostedOptionKey <Boolean > DeleteLocalSymbols = new HostedOptionKey <>(true );
945941 @ Option (help = "Compatibility option to make symbols used for the image heap global. " +
You can’t perform that action at this time.
0 commit comments