Platforms may define uintptr_t differently, so just use template overrides to select the appropriate builtin
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
compiler-rt/lib/scudo/standalone/wrappers_c_checks.h | ||
---|---|---|
50 | Looks like not it's going to accept even signed or float types, but will not optimize unsigned long long |
compiler-rt/lib/scudo/standalone/wrappers_c_checks.h | ||
---|---|---|
50–51 | same here? |
Looks like not it's going to accept even signed or float types, but will not optimize unsigned long long
maybe just cast in existing implementation?
_builtin_umull_overflow(Size, N, reinterpret_cast<unsigned long*>Product);