Link Collection
The book "Is Parallel Programming Hard, And, If So, What Can You Do About It?" can be found at https://www.kernel.org/pub/linux/kernel/p...
People occasionally ask why LLVM-compiled code sometimes generates SIGTRAP signals when the optimizer is turned on. After digging in, they find that Clang generated a "ud2" instruction (assuming X86 code) - the same as is generated by __builtin_trap().
The book "Is Parallel Programming Hard, And, If So, What Can You Do About It?" can be found at https://www.kernel.org/pub/linux/kernel/p...