Displaying 2 results from an estimated 2 matches for "a8af5eb6".
2013 Nov 26
0
[LLVMdev] Disabling certain optimizations at -O1?
...> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131126/a8af5eb6/attachment.html>
2013 Nov 26
5
[LLVMdev] Disabling certain optimizations at -O1?
Hi,
there are optimizations, mostly dealing with hoisting/merging common
code including function calls, that breaks stack trace symbolization
in a very bad way.
int f(int x) {
if (x == 1)
report("a");
else if (x == 2)
report("b");
return 0;
}
For example, in the above function (at -O1) both calls to report() are
done from the same PC. As a result, stack trace