Details
Diff Detail
- Build Status
Buildable 590 Build 590: arc lint + arc unit
Event Timeline
lib/Transforms/Instrumentation/AddressSanitizer.cpp | ||
---|---|---|
2262 | while technically correct, "const unsigned" variables don't seem common in llvm. Remove const? | |
2264 | I don't get this line at all. What's the meaning of the smallest of two line numbers? |
lib/Transforms/Instrumentation/AddressSanitizer.cpp | ||
---|---|---|
2264 | ASanStackVariableDescription is for allocas |
lib/Transforms/Instrumentation/AddressSanitizer.cpp | ||
---|---|---|
2260 | Why reset Pair.first? | |
2264 | 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? |
lib/Transforms/Instrumentation/AddressSanitizer.cpp | ||
---|---|---|
2264 |
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!
Why reset Pair.first?
Can it be replaced with assert(!Pair.first) ?