vitalybuka wrote: > * If `getInterestingMemoryOperands` never calls > `StackSafetyGlobalInfo::getInfo`, and a MemIntrinsic is converted to > `__asan_memcpy` by `instrumentMemIntrinsic`, when > `StackSafetyGlobalInfo::getInfo` is called, StackSafetyAnalysis will > consider `__asan_memcpy` as unsafe, leading to an unnecessary > alloca instrumentation
We need to calculate StackSafetyGlobalInfo before inserting __asan_memcpy https://github.com/llvm/llvm-project/pull/77221 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits