Details
Diff Detail
- Build Status
Buildable 561 Build 561: arc lint + arc unit
Event Timeline
lib/Transforms/Instrumentation/AddressSanitizer.cpp | ||
---|---|---|
2270 | while technically correct, "const unsigned" variables don't seem common in llvm. Remove const? | |
2272 | 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 | ASanStackVariableDescription is for allocas |
lib/Transforms/Instrumentation/AddressSanitizer.cpp | ||
---|---|---|
2266 | Why reset Pair.first? | |
2272 | 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 | ||
---|---|---|
2272 |
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) ?