Displaying 1 result from an estimated 1 matches for "cemgha".
2017 Nov 18
2
How and where optimizing of undefined behavior happens
Dear community,
I was wondering how exactly clang/llvm handles undefined behavior (UB).
Because of this experiment: https://godbolt.org/g/cEmGHa,
I tend to think that clang is light-weight in this subject and does
not detect UB.
And all the optimizations related to UB are done in llvm via some
optimization pass (passes).
Is it so? If so than what is the name of that pass? And do different
optimization levels detect different UB cases, i.e....