This caused false positives because the existing logic was not taking into account that pointers could have a tag in them.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| compiler-rt/lib/lsan/lsan_common.cpp | ||
|---|---|---|
| 281–283 | This way is shorter: compiler will optimize to the same code https://godbolt.org/z/YKcPP1YGT | |
This way is shorter: compiler will optimize to the same code https://godbolt.org/z/YKcPP1YGT
Keep what ever version you prefer.