[compiler-rt] Make interceptors fail earlier (PR #171295)

Thurston Dang via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 9 10:27:39 PST 2025


================
@@ -47,6 +48,8 @@
 #    define ASAN_PTHREAD_CREATE_VERSION "GLIBC_2.2"
 #  endif
 
+#define MAP_FIXED 0x0010 /* [MF|SHM] interpret addr exactly */
----------------
thurstond wrote:

`map_fixed` (in lowercase) is defined in compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp for this purpose (example usage: compiler-rt/lib/hwasan/hwasan_interceptors.cpp).

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


More information about the llvm-commits mailing list