From 6722bb7fe9b5e029c485bd0bc33269d553b7ef1a Mon Sep 17 00:00:00 2001 From: Mariusz Borsa Date: Mon, 27 Apr 2026 16:06:19 -0700 Subject: [PATCH] [asan_abi] Skip new __asan_get_report_* from ABI (#194463) PR #181446 ("[asan] API for getting multiple pointer ranges") added five new __asan_get_report_{dealloc,dest,first,second,src}_address entries to compiler-rt/lib/asan/asan_interface.inc without updating asan_abi_tbd.txt or implementing them in compiler-rt/lib/asan_abi/asan_abi.cpp. This broke the AddressSanitizerABI-arm64-darwin :: Darwin/llvm_interface_symbols.cpp test, which diffs asan_interface.inc (minus asan_abi_tbd.txt) against the symbols actually exported by libclang_rt.asan_abi_osx.a. List the new symbols alongside the existing __asan_get_report_* entries so the stable-ABI test passes. The symbols remain unimplemented in the stable ABI library; this change only reflects that they are intentionally not part of the stable ABI surface. Assisted-by: Claude Opus 4.7 rdar://175286011 Co-authored-by: Mariusz Borsa --- compiler-rt/lib/asan_abi/asan_abi_tbd.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/compiler-rt/lib/asan_abi/asan_abi_tbd.txt b/compiler-rt/lib/asan_abi/asan_abi_tbd.txt index a712093d7b21..effb9190b289 100644 --- a/compiler-rt/lib/asan_abi/asan_abi_tbd.txt +++ b/compiler-rt/lib/asan_abi/asan_abi_tbd.txt @@ -14,9 +14,14 @@ __asan_get_report_access_size __asan_get_report_access_type __asan_get_report_address __asan_get_report_bp +__asan_get_report_dealloc_address __asan_get_report_description +__asan_get_report_dest_address +__asan_get_report_first_address __asan_get_report_pc +__asan_get_report_second_address __asan_get_report_sp +__asan_get_report_src_address __asan_report_error __asan_report_present __asan_set_error_report_callback