[llvm-dev] RelWithDebInfo vs Release optimization level?

Mehdi Amini via llvm-dev llvm-dev at lists.llvm.org
Tue Mar 15 15:20:58 PDT 2016


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



More information about the llvm-dev mailing list