Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Transforms/Instrumentation/AddressSanitizer.cpp | ||
---|---|---|
2270 ↗ | (On Diff #74951) | while technically correct, "const unsigned" variables don't seem common in llvm. Remove const? |
2272 ↗ | (On Diff #74951) | I don't get this line at all. What's the meaning of the smallest of two line numbers? |
lib/Transforms/Instrumentation/AddressSanitizer.cpp | ||
---|---|---|
2272 ↗ | (On Diff #74951) | ASanStackVariableDescription is for allocas |
lib/Transforms/Instrumentation/AddressSanitizer.cpp | ||
---|---|---|
2272 ↗ | (On Diff #74951) | OK. AILoc is a bad name, because it is not debugloc of AI, it's debugloc of the lifetime intrinstic. Can this whole loop be moved below, after ASanStackVariableDescription objects are created, and then use Line field in the struct directly? |
2260 ↗ | (On Diff #75046) | Why reset Pair.first? |
lib/Transforms/Instrumentation/AddressSanitizer.cpp | ||
---|---|---|
2272 ↗ | (On Diff #74951) |
It can't without changes in ComputeASanStackFrameLayout in ASanStackFrameLayout |
This broke android builds because it uses std::to_string instead of llvm::to_string. Would you mind changing it? https://reviews.llvm.org/D25754 adds another use of std::to_string. I would fix it but don't have commit access. Thanks!