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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 14814 Build 14814: arc lint + arc unit
Event Timeline
Comment Actions
Peter, thanks for the review!
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp | ||
---|---|---|
243 | I chose a map so that arguments to the original function which are not included in the transformed function can be excluded. However, I now see that this can not happen. Changed. |
I think this can just be a std::vector<unsigned>.