[PATCH] D58033: Add option for emitting dbg info for call sites

Djordje Todorovic via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 15 23:45:00 PDT 2019

djtodoro marked an inline comment as done.
djtodoro added inline comments.

Comment at: include/clang/Driver/Options.td:919
   HelpText<"Do not use jump tables for lowering switches">;
+def emit_param_entry_values : Joined<["-"], "femit-param-entry-values">,
+                       Group<f_clang_Group>,
aprantl wrote:
> I assume that this is the same -f option that GCC uses?
Actually in GCC production of call_site and call_site_parameters debug info is enabled by default.
Production of entry_values is implemented on top of variable's value tracking system and there is no particular option just for entry_values.

Basically, we introduce this option as experimental one. As soon as we test everything we should get rid of this or turn it ON by default (and maybe add '-fno-emit-param-entry-values' in order to have an option for disabling the functionality). That will be ideal scenario.



More information about the cfe-commits mailing list