Skip to content

Commit

Permalink
[GR-44775] Fix -H:-StripDebugInfo.
Browse files Browse the repository at this point in the history
PullRequest: graal/20058
  • Loading branch information
fniephaus committed Feb 17, 2025
2 parents 40f2aae + 3041256 commit 7841ca2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ public void printCreationEnd(int imageFileSize, int heapObjectCount, long imageH
l.a(" generated in %.1fs", Utils.millisToSeconds(debugInfoTimer.getTotalTime()));
}
l.println();
if (!ImageSingletons.lookup(NativeImageDebugInfoStripFeature.class).hasStrippedSuccessfully()) {
if (!(ImageSingletons.contains(NativeImageDebugInfoStripFeature.class) && ImageSingletons.lookup(NativeImageDebugInfoStripFeature.class).hasStrippedSuccessfully())) {
// Only subtract if debug info is embedded in file (not stripped).
otherBytes -= debugInfoSize;
}
Expand Down

0 comments on commit 7841ca2

Please sign in to comment.