1. [ASAN] Properly deal with musttail calls in ASAN (details)
Commit 11453740bc6fb7c9a5fba3e0761060fc2182dc14 by xun
[ASAN] Properly deal with musttail calls in ASAN

When address sanitizing a function, stack unpinsoning code is inserted before each ret instruction. However if the ret instruciton is preceded by a musttail call, such transformation broke the musttail call contract and generates invalid IR.
This patch fixes the issue by moving the insertion point prior to the musttail call if there is one.

Differential Revision:
The file was modifiedllvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp (diff)
The file was addedllvm/test/Instrumentation/AddressSanitizer/musttail.ll