[PATCH] D29203: Change debug-info-for-profiling from a TargetOption to a function attribute.

Mehdi AMINI via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 27 11:27:22 PST 2017


mehdi_amini added a comment.

In https://reviews.llvm.org/D29203#658997, @danielcdh wrote:

> - What is the motivating example that you want to compile some sources with -fdebug-info-for-profiling and some without
>   - If the debug info size is a concern for -gmlt binary, then one would want to only enable this flag for sources that is performance-critical


This is an argument *against* a module flag.


https://reviews.llvm.org/D29203





More information about the llvm-commits mailing list