[PATCH] D75175: [CallSiteInfo] Enable the call site info only for -g + optimizations

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 28 10:32:21 PST 2020


vsk added inline comments.


================
Comment at: clang/lib/Frontend/CompilerInvocation.cpp:793
     Opts.EnableDebugEntryValues = Args.hasArg(OPT_femit_debug_entry_values);
+    Opts.EmitCallSiteInfo = true;
+  }
----------------
I don't understand how Opts.EnableDebugEntryValues and Opts.EmitCallSiteInfo are different. What is the second option supposed to control, that the first option does not? I thought we could already suppress entry values in llvm at -O0 + -g.

Is `EmitCallSiteInfo = false` supposed to disable TAG_call_site emission?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75175/new/

https://reviews.llvm.org/D75175





More information about the llvm-commits mailing list