[llvm] [DataFlowSanitizer] Properly add ext attributes on arguments as needed. (PR #225443)
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 29 10:46:19 PDT 2026
================
@@ -3164,10 +3213,18 @@ bool DFSanVisitor::visitWrappedCallBase(Function &F, CallBase &CB) {
// Adds variable arguments.
append_range(Args, drop_begin(CB.args(), FT->getNumParams()));
+ // Combine CallSite attributes with Function declaration attributes.
+ AttributeList CombinedAttrs = CI->getAttributes();
----------------
efriedma-quic wrote:
The call attributes should probably also be computed as part of the getCustomFunctionType(), instead of trying to adjust later with transformFunctionAttributes().
https://github.com/llvm/llvm-project/pull/225443
More information about the llvm-commits
mailing list