[PATCH] D43132: Fix DataFlowSanitizer instrumentation pass to take parameter position changes into account for custom functions.

Sam Kerner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 9 10:29:17 PST 2018


skerner created this revision.
Herald added subscribers: llvm-commits, javed.absar.

When DataFlowSanitizer transforms a call to a custom function, the new call has extra parameters.  The attributes on parameters must be updated to take the new position of each parameter into account.


Repository:
  rL LLVM

https://reviews.llvm.org/D43132

Files:
  lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
  test/Instrumentation/DataFlowSanitizer/custom_fn_varargs_attributes.ll
  test/Instrumentation/DataFlowSanitizer/custom_fun_callback_attributes.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43132.133644.patch
Type: text/x-patch
Size: 9801 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180209/29626e49/attachment.bin>


More information about the llvm-commits mailing list