Displaying 2 results from an estimated 2 matches for "c61267e2".
2018 Jan 29
0
Debuggability of -O1 level
...is holding the debuggability at -O1 back? Which optimization passes are removing our debug info at this -O1 level?
Thank you for your help,
Son Tuan Vu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180129/c61267e2/attachment-0001.html>
2018 Jan 29
2
Debuggability of -O1 level
Hello all,
I've found an old post (November 2016)
http://lists.llvm.org/pipermail/llvm-dev/2016-November/107006.html which
discussed debug information for optimized code. At the end of that
discussion, Adrian broached the interest in making -O1 only enable
optimizations. I see in the code (
*clang/lib/Frontend/CompilerInvocation.cpp*, in function
*getOptimizationLevel*) that *-Og* option is