Currently, LLVM doesn't have the correct shadow offset mapping for the n32 ABI.
This patch introduces the correct shadow offset value for the n32 ABI - 1ULL << 29.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks for this.
| llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp | ||
|---|---|---|
| 546 | Is this even possible? | |
Comment Actions
Removed the unnecessary check for the N32 ABI if LongSize is equal to 64.
| llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp | ||
|---|---|---|
| 546 | Indeed, the N32 ABI has 32-bit longs. Thanks! | |
Is this even possible?