diff options
| author | Aaron Puchert <aaron.puchert@sap.com> | 2024-12-09 22:03:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-09 22:03:03 +0100 |
| commit | f5f965058a5f9b835382f96bd4041bc7e608ece0 (patch) | |
| tree | 28b58ed637bfb1926824f3c69f926de6d2edc4ff /mlir/test/python/lib/PythonTestModulePybind11.cpp | |
| parent | e55c167777651fa0c8c7666d746ee8e2c106450c (diff) | |
Move interceptors for libresolv functions to MSan (#119071)
The functions are not relevant for most sanitizers and only required for
MSan to see which regions have been written to. This eliminates a link
dependency for all other sanitizers and fixes #59007: while `-lresolv`
had been added for the static runtime in 6dce56b2a308, it wasn't added
to the shared runtimes.
Instead of just moving the interceptors, we adapt them to MSan
conventions:
* We don't skip intercepting when `msan_init_is_running` is true, but
directly call ENSURE_MSAN_INITED() like most other interceptors. It
seems unlikely that these functions are called during initialization.
* We don't unpoison `errno`, because none of the functions is specified
to use it.
Diffstat (limited to 'mlir/test/python/lib/PythonTestModulePybind11.cpp')
0 files changed, 0 insertions, 0 deletions
