[PATCH] D29205: Change debug-info-for-profiling from a TargetOption to a function attribute.
Mehdi AMINI via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 27 09:52:48 PST 2017
mehdi_amini added inline comments.
================
Comment at: lib/CodeGen/CodeGenModule.cpp:452
+ if (CodeGenOpts.DebugInfoForProfiling)
+ getModule().addModuleFlag(llvm::Module::Warning, "DebugInfoForProfiling", 1);
----------------
Why should we warn on mismatch?
https://reviews.llvm.org/D29205
More information about the cfe-commits
mailing list