phosek added a comment. There is a related compiler-rt change https://reviews.llvm.org/D26653 and example use case https://reviews.llvm.org/D26654. Repository: rL LLVM https://reviews.llvm.org/D26652