64-bit Windows uses 32-bit long so these casts fail to compile with the
error "cast from pointer to smaller type". Change to instead use
uintptr_t like other tests.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D147232
[asan][test] Fix `TestCases/alloca_*` ptr-to-long cast on Windows ClosedPublic Authored by alvinhochun on Mar 30 2023, 6:33 AM.
Details Summary 64-bit Windows uses 32-bit long so these casts fail to compile with the
Diff Detail
Event Timelinealvinhochun added a child revision: D147059: [asan][test] Fix tests or mark XFAIL for MinGW target.Mar 30 2023, 6:34 AM This revision is now accepted and ready to land.Mar 30 2023, 2:01 PM Closed by commit rG985580d7c03c: [asan][test] Fix `TestCases/alloca_*` ptr-to-long cast on Windows (authored by alvinhochun). · Explain WhyApr 1 2023, 10:06 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 510246 compiler-rt/test/asan/TestCases/alloca_big_alignment.cpp
compiler-rt/test/asan/TestCases/alloca_detect_custom_size_.cpp
compiler-rt/test/asan/TestCases/alloca_instruments_all_paddings.cpp
compiler-rt/test/asan/TestCases/alloca_overflow_partial.cpp
compiler-rt/test/asan/TestCases/alloca_overflow_right.cpp
compiler-rt/test/asan/TestCases/alloca_safe_access.cpp
compiler-rt/test/asan/TestCases/alloca_underflow_left.cpp
|