[all-commits] [llvm/llvm-project] 85d387: Fix "[compiler-rt] Allow 3 simultaneous intercepto...

Marco Elver via All-commits all-commits at lists.llvm.org
Fri Jun 9 03:15:05 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 85d3873a45f9977f868723a221ebcb35100cac22
      https://github.com/llvm/llvm-project/commit/85d3873a45f9977f868723a221ebcb35100cac22
  Author: Marco Elver <elver at google.com>
  Date:   2023-06-09 (Fri, 09 Jun 2023)

  Changed paths:
    M compiler-rt/lib/interception/interception.h

  Log Message:
  -----------
  Fix "[compiler-rt] Allow 3 simultaneous interceptors on Linux"

Fix inline asm trampoline type. Some architectures will complain:

<inline asm>:8:41: error: expected STT_<TYPE_IN_UPPER_CASE>, '#<type>', '%<type>' or "<type>"
    8 | .type  __interceptor_trampoline_malloc, @function

Just use %function instead, which is what is also used in
sanitizer_asm.h




More information about the All-commits mailing list