Prevent usr/bin/julia from producing debug metadata

question

#1

Julia at 6b0d54e6cb4272c609489a05bf8404e89befab7e produces debug metadata when invoked as usr/bin/julia. Earlier, debug metadata ( and intrinsics ) were inserted into the IR only by usr/bin/julia-debug.

Is there a way to disable usr/bin/julia from producing this metadata ?


#2

Why do you need this? You can just strip them away if you need to.


#3

You can also run with the -g0 flag to disable all debug info:

~/julia$ ./usr/bin/julia --help
 -g, -g <level>            Enable / Set the level of debug info generation (default level is 1 if unspecified or 2 if used without a level)

~/julia$ ./usr/bin/julia-debug --help
 -g, -g <level>            Enable / Set the level of debug info generation (default level for julia-debug is 2 if unspecified or if used without a level)