[llvm-dev] RelWithDebInfo vs Release optimization level?

Duncan P. N. Exon Smith via llvm-dev llvm-dev at lists.llvm.org
Tue Mar 15 16:44:26 PDT 2016


I also assumed they were the same, and I have been using them
that way.  I agree they should match.

> On 2016-Mar-15, at 15:20, Mehdi Amini via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> Hi all,
> 
> These two cmake configuration are using different optimization levels (O2 vs O3). What is the rational for that? I know that O1 is "supposingly" more friendly for debugging, but I don't think we make such claim for O2 vs O3, are we?
> 
> I'd expect RelWithDebInfo to be what the name says, i.e. Release + debug-information.
> 
> 
> -- 
> Mehdi
> 
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev



More information about the llvm-dev mailing list