[all-commits] [llvm/llvm-project] 60c4f8: [InstrProfiling] No runtime registration for ELF, ...

Petr Hosek via All-commits all-commits at lists.llvm.org
Sun Jan 7 16:07:31 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 60c4f82d3c4e9cfc337c360f489d830d0379b04d
      https://github.com/llvm/llvm-project/commit/60c4f82d3c4e9cfc337c360f489d830d0379b04d
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-01-07 (Sun, 07 Jan 2024)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
    M llvm/test/Instrumentation/InstrProfiling/platform.ll
    M llvm/test/Instrumentation/InstrProfiling/profiling.ll

  Log Message:
  -----------
  [InstrProfiling] No runtime registration for ELF, COFF, Mach-O and XCOFF (#77225)

Whether runtime registration is needed is not dependent on the OS but
the file format. For ELF, COFF, Mach-O or XCOFF, we can always use the
linker support. This is important for baremetal platforms such as RTOS
and UEFI platforms where there is no OS but we still don't want to use
runtime registration and rely on linker support instead.




More information about the All-commits mailing list