Dart_DebugName
and Dart_DetectNullSafety
symbols in my executable
#59612
Labels
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
type-question
A question about expected behavior or functionality
Info
Problem
Hi!
Yesterday, I was trying for the first time to benchmark my code by reading the final assembly code.
That's the program I have (coming from a Twitter post) :
I compiled that code with
dart compile exe my_program.dart
then runobjdump -d my_program.dart > output.asm
to get the assembly code.I can see a lot of
Dart_DebugName
andDart_DetectNullSafety
. I thought it would be compile without the debug info so I checked the available flag and with the flag-save-debugging-info
, I should remove them and save them in an external file.I run the new command
dart compile exe --save-debugging-info debug.txt my_program.dart
. I don't know which extension should be the debugging info file. I can already see my file getting smaller! From 5.4MB to 5.2MB!I checked again the assembly and I still find the previous symbols
Dart_DebugName
andDart_DetectNullSafety
that I thought would be stripped from the final executable.Is it a normal behavior?
The text was updated successfully, but these errors were encountered: