[llvm] [CFI][annotation] Leave alone function pointers in function annotations (PR #80173)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 2 06:52:24 PST 2024


================
@@ -1900,6 +1920,10 @@ void LowerTypeTestsModule::replaceCfiUses(Function *Old, Value *New,
     if (isDirectCall(U) && (Old->isDSOLocal() || !IsJumpTableCanonical))
       continue;
 
+    // Skip function annotation
----------------
nikic wrote:

```suggestion
    // Skip function annotation.
```

https://github.com/llvm/llvm-project/pull/80173


More information about the llvm-commits mailing list