[PATCH] D28075: MergeFunctions: Preserve debug info in thunks, under option -mergefunc-preserve-debug-info

Anmol P. Paralkar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 13 19:09:44 PST 2017


appcs marked 2 inline comments as done.
appcs added a comment.

In https://reviews.llvm.org/D28075#645429, @aprantl wrote:

> There are several options I could think of:
>  Either surfacing it through a driver option, enabling it at -Og, or benchmarking it and arguing to enable it by default at some optimization settings.


-Og?

I feel that -g ought to imply -mergefunc-preserve-debug-info - would you agree?


https://reviews.llvm.org/D28075





More information about the llvm-commits mailing list