Thread (39 messages) 39 messages, 7 authors, 2021-10-22

Re: Can the Kernel Concurrency Sanitizer Own Rust Code?

flat view

From: comex <hidden>
Date: 2021-10-08 00:27:54

On Oct 7, 2021, at 4:59 PM, Gary Guo [off-list ref] wrote:


I should probably say that doing LTO or not wouldn't make a UB-free
program exhibit UB (assuming LLVM doesn't introduce any during LTO).
Yes, but LTO makes certain types of UB – the types that exist mainly to enable compiler optimizations – more likely to cause actual misbehavior.  But that’s no different from C.  Though, Rust code does tend to make more aggressive use of inlining than C code, and then there’s the whole saga with noalias…
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help