Skip to content

Commit 1e21194

Browse files
committed
Restore ability to disable debuginfo stripping
1 parent c3fb254 commit 1e21194

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/image/NativeImageDebugInfoStripFeature.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public class NativeImageDebugInfoStripFeature implements InternalFeature {
5151

5252
@Override
5353
public boolean isInConfiguration(IsInConfigurationAccess access) {
54-
return SubstrateOptions.useDebugInfoGeneration();
54+
return SubstrateOptions.useDebugInfoGeneration() && SubstrateOptions.StripDebugInfo.getValue();
5555
}
5656

5757
@SuppressWarnings("try")

0 commit comments

Comments
 (0)