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

Frederic Riss via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 13 20:01:23 PST 2017


friss added a comment.

In https://reviews.llvm.org/D28075#646196, @appcs wrote:

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


While I understand the intent, I feel rather strongly against that. A compilation with or without -g should produce the same code.


https://reviews.llvm.org/D28075





More information about the llvm-commits mailing list