[all-commits] [llvm/llvm-project] 4b5224: Disable PGO instrumentation on naked function (#75...

serge-sans-paille via All-commits all-commits at lists.llvm.org
Tue Dec 12 21:54:05 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b5224a27e3639b0efcec39bec48f66bd39a2751
      https://github.com/llvm/llvm-project/commit/4b5224a27e3639b0efcec39bec48f66bd39a2751
  Author: serge-sans-paille <sguelton at mozilla.com>
  Date:   2023-12-13 (Wed, 13 Dec 2023)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
    M llvm/test/Transforms/PGOProfile/timestamp.ll

  Log Message:
  -----------
  Disable PGO instrumentation on naked function (#75224)

We only allow for assembly code in naked function, and PGO
instrumentation (esp. temporal instrumentation that introduces a
function call) can wreak havoc in this.

Fix #74573




More information about the All-commits mailing list