We were passing the type of Val to getShadowOriginPtr, rather
than the type of Val's shadow resulting in broken IR. The fix
is simple.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D131845
[MSAN] Correct shadow type for atomicrmw instrumentation ClosedPublic Authored by loladiro on Aug 13 2022, 5:35 PM.
Details Summary We were passing the type of Val to getShadowOriginPtr, rather
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 23 2022, 6:15 PM Closed by commit rG5739d29cde07: [MSAN] Correct shadow type for atomicrmw instrumentation (authored by loladiro). · Explain WhyAug 23 2022, 8:35 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 455060 llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
llvm/test/Instrumentation/MemorySanitizer/atomics.ll
|