@@ -149,23 +149,22 @@ struct CodegenParams
149149 use_jlplt:: Cint
150150
151151 """
152- If enabled, only provably reachable code (from functions marked with `entrypoint`) is included
153- in the output system image. Errors or warnings can be given for call sites too dynamic to handle.
154- The option is disabled by default. (0=>disabled, 1=>safe (static errors), 2=>unsafe, 3=>unsafe plus warnings)
152+ If enabled emit LLVM IR for all functions even if wouldn't be compiled
153+ for some reason (i.e functions that return a constant value).
155154 """
156- trim :: Cint
155+ force_emit_all :: Cint
157156
158157 function CodegenParams (; track_allocations:: Bool = true , code_coverage:: Bool = true ,
159158 prefer_specsig:: Bool = false ,
160159 gnu_pubnames:: Bool = true , debug_info_kind:: Cint = default_debug_info_kind (),
161160 debug_info_level:: Cint = Cint (JLOptions (). debug_level), safepoint_on_entry:: Bool = true ,
162- gcstack_arg:: Bool = true , use_jlplt:: Bool = true , trim :: Cint = Cint ( 0 ) )
161+ gcstack_arg:: Bool = true , use_jlplt:: Bool = true , force_emit_all :: Bool = false )
163162 return new (
164163 Cint (track_allocations), Cint (code_coverage),
165164 Cint (prefer_specsig),
166165 Cint (gnu_pubnames), debug_info_kind,
167166 debug_info_level, Cint (safepoint_on_entry),
168- Cint (gcstack_arg), Cint (use_jlplt), Cint (trim ))
167+ Cint (gcstack_arg), Cint (use_jlplt), Cint (force_emit_all ))
169168 end
170169end
171170
0 commit comments