[compiler-rt] [asan] API for getting multiple pointer ranges (PR #181446)

Maksim Ivanov via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 17 15:51:28 PDT 2026


emaxx-google wrote:

> Not asking to change yet, we can consider later regardless of your PR. What is YOUR opinion on exposing ErrorBase and friends into pubic headers? If i remember they where added to simplify printing them in debuggers.

While those structured bits of information seem potentially useful, I think exposing these numerous internal structs may make changes in ASan implementation harder in the future. IMO the current ASan's approach with the "slim" public getters works reasonably well to abstract away the interface from internals.

https://github.com/llvm/llvm-project/pull/181446


More information about the llvm-commits mailing list