
https://github.com/llvm/llvm-project/pull/152192 forgot to make the argument changes to Android code in UBsan minimal causing a build error for Android LLVM: ``` /b/f/w/src/git/out/llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:102:3: error: no matching function for call to 'format_msg' 102 | format_msg(kind, caller, msg_buf, msg_buf + sizeof(msg_buf)); | ^~~~~~~~~~ /b/f/w/src/git/out/llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:37:13: note: candidate function not viable: requires 5 arguments, but 4 were provided 37 | static void format_msg(const char *kind, uintptr_t caller, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 38 | const uintptr_t *address, char *buf, const char *end) { ``` This change adds the address argument to abort_with_message just like __ubsan_report_error_fatal so it can be passed to format_msg.
Compiler-RT ================================ This directory and its subdirectories contain source code for the compiler support routines. Compiler-RT is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt. ================================