This is a part of https://reviews.llvm.org/D95835.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp | ||
---|---|---|
1073 | Considering this function is only useful inside runImpl, it might be better to use a lambda there instead. Then we can also capture Mod and Changed instead of passing them every time. Then we could also probably avoid passing the Ty. |
Comment Actions
chanegd getOrInsertGlobal to be a lambda.
We still keep Ty because it is different at callsites.
Considering this function is only useful inside runImpl, it might be better to use a lambda there instead. Then we can also capture Mod and Changed instead of passing them every time.
Then we could also probably avoid passing the Ty.