[llvm] -fsanitize=function: fix .subsections_via_symbols (PR #87527)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 5 19:14:06 PDT 2024
================
@@ -868,6 +868,9 @@ class AsmPrinter : public MachineFunctionPass {
/// This method emits a comment next to header for the current function.
virtual void emitFunctionHeaderComment();
+ /// This method emits prefix-like data before the current function.
+ void emitFunctionPrefix(const SmallVector<const Constant *, 1> &Prefix);
----------------
MaskRay wrote:
Use ArrayRef like https://github.com/MaskRay/llvm-project/tree/pr87527-edit
https://github.com/llvm/llvm-project/pull/87527
More information about the llvm-commits
mailing list