[llvm] [CFI][annotation] Leave alone function pointers in function annotations (PR #80173)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 1 01:21:54 PST 2024
================
@@ -531,6 +534,10 @@ class LowerTypeTestsModule {
/// replace each use, which is a direct function call.
void replaceDirectCalls(Value *Old, Value *New);
+ bool isFunctionAnnotation(Value *V) {
----------------
nikic wrote:
```suggestion
bool isFunctionAnnotation(Value *V) const {
```
https://github.com/llvm/llvm-project/pull/80173
More information about the llvm-commits
mailing list