@kiri@ani.social to Programmer Humor@programming.dev • edit-26 days agoC++ani.socialimagemessage-square91fedilinkarrow-up1809arrow-down115
arrow-up1794arrow-down1imageC++ani.social@kiri@ani.social to Programmer Humor@programming.dev • edit-26 days agomessage-square91fedilink
minus-square@qqq@lemmy.worldlinkfedilink3•edit-26 days agoIn some build modes clang will simply put a trap where it sees undefined behavior. https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html Not saying your wrong, just a fun fact I guess
minus-square@heavy@sh.itjust.workslinkfedilinkEnglish1•6 days agoYeah that is fun, credit where it’s due, compilers do a lot of cool work behind the scenes.
In some build modes clang will simply put a trap where it sees undefined behavior. https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html
Not saying your wrong, just a fun fact I guess
Yeah that is fun, credit where it’s due, compilers do a lot of cool work behind the scenes.