[all-commits] [llvm/llvm-project] c7a0db: [CFI][annotation] Leave alone function pointers in...

yozhu via All-commits all-commits at lists.llvm.org
Fri Feb 9 13:55:20 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c7a0db1e20251f436e3d500eac03bd9be1d88b45
      https://github.com/llvm/llvm-project/commit/c7a0db1e20251f436e3d500eac03bd9be1d88b45
  Author: yozhu <101743168+yozhu at users.noreply.github.com>
  Date:   2024-02-09 (Fri, 09 Feb 2024)

  Changed paths:
    M llvm/lib/Transforms/IPO/LowerTypeTests.cpp
    A llvm/test/Transforms/LowerTypeTests/cfi-annotation.ll

  Log Message:
  -----------
  [CFI][annotation] Leave alone function pointers in function annotations (#80173)

Function annotation, as part of llvm.metadata, is for the function
itself and doesn't apply to its corresponding jump table entry, so with
CFI we shouldn't replace function pointer in function annotation with
pointer to its corresponding jump table entry.




More information about the All-commits mailing list