[all-commits] [llvm/llvm-project] 45c113: [BOLT][AArch64] Make Android instrumentation runti...

YongKang Zhu via All-commits all-commits at lists.llvm.org
Mon Sep 14 17:55:05 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 45c113d869c69ccf17b368e087c744713cf26bfa
      https://github.com/llvm/llvm-project/commit/45c113d869c69ccf17b368e087c744713cf26bfa
  Author: YongKang Zhu <yongzhu at fb.com>
  Date:   2026-09-14 (Mon, 14 Sep 2026)

  Changed paths:
    M bolt/runtime/common.h
    M bolt/runtime/instr.cpp

  Log Message:
  -----------
  [BOLT][AArch64] Make Android instrumentation runtime fail safe (#223110)

Profiling failure in BOLT instrumentation runtime should not kill the
host app on Android. Under `ANDROID_AARCH64`, we now handle failures
in instrumentation setup, memory allocation, hash table operations,
data dumping, opening profile output file, zero-counter binary, etc..
Since the first failure, we will disable profiling and directly return
from various instrumentation entry points, instead of assert/exit.

Only for Android AArch64; the behavior is unchanged otherwise.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list