HomePhabricator

Fix DataFlowSanitizer instrumentation pass to take parameter position changes…

Authored by pcc on Feb 22 2018, 11:09 AM.

Description

Fix DataFlowSanitizer instrumentation pass to take parameter position changes into account for custom functions.

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.

Patch by Sam Kerner!

Differential Revision: https://reviews.llvm.org/D43132

llvm-svn: 325820