Details
Details
- Reviewers
eugenis - Commits
- rGf86db34defc3: [MSan] Move origins for overlapped memory transfer
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
170 ms | x64 windows > LLVM.tools/dsymutil/ARM::extern-alias.test |
Event Timeline
Comment Actions
@vitalybuka FYI
compiler-rt/lib/msan/msan_poisoning.cpp | ||
---|---|---|
131 | I think this loop does one extra iteration (compared to the one in CopyOrigin) because it starts at src_end instead of src_end - 1. | |
157 | You can just call it "MoveOrigin", same as memmove is a generalization of memcpy. |
Comment Actions
fixed the incorrect interation number.
Also removed that if (end < begin) check, end >= begin after the change.
compiler-rt/lib/msan/msan_poisoning.cpp | ||
---|---|---|
131 | Thank you for catching this. Fixed. |
I think this loop does one extra iteration (compared to the one in CopyOrigin) because it starts at src_end instead of src_end - 1.