Skip to content

Commit 2eda1e1

Browse files
committed
Restore ability to disable debuginfo stripping
1 parent 6909e7f commit 2eda1e1

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
@@ -52,7 +52,7 @@ public class NativeImageDebugInfoStripFeature implements InternalFeature {
5252

5353
@Override
5454
public boolean isInConfiguration(IsInConfigurationAccess access) {
55-
return SubstrateOptions.useDebugInfoGeneration();
55+
return SubstrateOptions.useDebugInfoGeneration() && SubstrateOptions.StripDebugInfo.getValue();
5656
}
5757

5858
@SuppressWarnings("try")

0 commit comments

Comments
 (0)