llvm-project
b2edcf9f - [Instrumentor] Introduce BasePointerIO to communicate base pointer information (#197607)

Commit
132 days ago
[Instrumentor] Introduce BasePointerIO to communicate base pointer information (#197607) Loads, stores, and later probably calls, can request a base pointer info object from the user runtime. This object is queried right after the base pointer of the operation is defined, and then passed to the pre/post runtime calls of the loads and stores. This allows users to inspect pointers early and once, but provide the analysis results to all operations that might be executed in loops. A potential use case is to lookup the size and start of the underlying object and then provide those to the access runtime calls for in-bounds checking.
Author
Parents
Loading