[PATCH] D44917: Force SHF_MERGE optimizations with -r

Rafael Avila de Espindola via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 27 08:18:43 PDT 2018


espindola added a comment.

In https://reviews.llvm.org/D44917#1049267, @gbreynoo wrote:

> I disagree with forcing -O1 on a user when using -r. -O0 can be useful for debugging and we have tool features that rely on no optimisations.


Those tools are broken according to the ELF spec. Please fix them. Also, they are lld only as we are the first to offer a -O0 mode.


https://reviews.llvm.org/D44917





More information about the llvm-commits mailing list