[llvm] [DebugInfo] Avoid std::function in DWARF verifier internals (PR #202866)

Jeremy Morse via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 11 03:25:37 PDT 2026


https://github.com/jmorse commented:

This sounds like a great improvement as per the size numbers posted (hundreds of megs of std::function construction?), thanks for finding it. I think there's no need to preserve the signature of the LLVM_ABI functions: as per https://llvm.org/docs/InterfaceExportAnnotations.html , those annotations are there to ensure symbols are exported on Windows, rather than to ensure their signature never changes (AFAIUI). Thus, IMO it's acceptable to change the `Report` signature and drop the bulk of the patch.

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


More information about the llvm-commits mailing list