File tree 1 file changed +1
-5
lines changed
substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core
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() {
934
934
return "lir" .equals (CompilerBackend .getValue ());
935
935
}
936
936
937
- /*
938
- * RemoveUnusedSymbols is not enabled on Darwin by default, because the linker sometimes
939
- * segfaults when the -dead_strip option is used.
940
- */
941
937
@ 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 );
943
939
@ Option (help = "Use linker option to remove all local symbols from image." )//
944
940
public static final HostedOptionKey <Boolean > DeleteLocalSymbols = new HostedOptionKey <>(true );
945
941
@ 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