[llvm] [BOLT] Add support for safe-icf (PR #116275)
Maksim Panchenko via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 10 13:55:55 PST 2024
================
@@ -817,6 +820,12 @@ class BinaryFunction {
return nullptr;
}
+ /// Returns true if function is referenced in none-control flow instructions..
+ bool hasAddressTaken() const { return HasAddressTaken; }
+
+ /// Sets whether function is referenced in none-control flow instructions.
----------------
maksfb wrote:
```suggestion
/// Set whether function is referenced in non-control flow instructions.
```
https://github.com/llvm/llvm-project/pull/116275
More information about the llvm-commits
mailing list