This relies on existing APIs and avoids accessing the pointer element type. The alternative would be to extend getPointerOperand() to also return the accessed type, but I figured going through MemoryLocation would be cleaner.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo