[MSAN] Convert ActualFnStart to be a particular Instruction *, not BB
authorGui Andrade <guiand@google.com>
Fri, 14 Aug 2020 18:26:23 +0000 (18:26 +0000)
committerGui Andrade <guiand@google.com>
Fri, 14 Aug 2020 21:43:56 +0000 (21:43 +0000)
commit36ebabc153d44fc9b783fcb2f9ae5a4a7211b242
tree19b612eb62c8d9e157d9385a0185ab52715d8f31
parente492f959e0e0930af3745c1e62b7ffc31f5bf29c
[MSAN] Convert ActualFnStart to be a particular Instruction *, not BB

This allows us to add addtional instrumentation before the function start,
without splitting the first BB.

Differential Revision: https://reviews.llvm.org/D85985
llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
llvm/test/Instrumentation/MemorySanitizer/array_types.ll
llvm/test/Instrumentation/MemorySanitizer/clmul.ll
llvm/test/Instrumentation/MemorySanitizer/masked-store-load.ll
llvm/test/Instrumentation/MemorySanitizer/msan_basic.ll
llvm/test/Instrumentation/MemorySanitizer/msan_kernel_basic.ll
llvm/test/Instrumentation/MemorySanitizer/pr32842.ll
llvm/test/Instrumentation/MemorySanitizer/store-origin.ll