Merge "Use more appropriate param type for __early_abort" am: 81d1e3df44

Original change: https://android-review.googlesource.com/c/platform/bionic/+/2627970

Change-Id: Ie9653e539b6be663e9e805f3cdb85b47ed04787f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Dimitry Ivanov 2023-06-16 10:29:45 +00:00 committed by Automerger Merge Worker
commit 344ab813b3

View file

@ -186,7 +186,7 @@ __BIONIC_WEAK_FOR_NATIVE_BRIDGE void __libc_set_target_sdk_version(int target __
#endif
}
__noreturn static void __early_abort(int line) {
__noreturn static void __early_abort(size_t line) {
// We can't write to stdout or stderr because we're aborting before we've checked that
// it's safe for us to use those file descriptors. We probably can't strace either, so
// we rely on the fact that if we dereference a low address, either debuggerd or the