pftbest added a comment. I've tested this patch with asan and it found some stack-use-after-scope. Can you please take a look? Log: https://gist.github.com/pftbest/e7ca0967ab96e2318a86289a31fe8fe4 Repository: rL LLVM https://reviews.llvm.org/D53661