[all-commits] [llvm/llvm-project] d14460: [AsmPrinter] Fix placement of function entry comments

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Apr 18 15:01:49 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d14460d00ebacd296405872ae37e7ba743f9eecb
      https://github.com/llvm/llvm-project/commit/d14460d00ebacd296405872ae37e7ba743f9eecb
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-04-18 (Tue, 18 Apr 2023)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/test/CodeGen/AArch64/patchable-function-entry.ll
    M llvm/test/CodeGen/AArch64/prefixdata.ll
    M llvm/test/CodeGen/LoongArch/patchable-function-entry.ll
    M llvm/test/CodeGen/RISCV/patchable-function-entry.ll
    M llvm/test/CodeGen/X86/patchable-function-entry.ll
    M llvm/test/CodeGen/X86/prefixdata.ll

  Log Message:
  -----------
  [AsmPrinter] Fix placement of function entry comments

The placement is currently wrong in the presence of function entry related
instrumentations (prefixdata, -fpatchable-function-entry=, -fsanitize=kcfi,
etc).




More information about the All-commits mailing list