[llvm] [LLParser] Fix heap-buffer-overflow in PerFunctionState (PR #124509)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 11 01:09:10 PDT 2025


https://github.com/nikic requested changes to this pull request.

You cannot use exceptions inside LLVM. Please take a look at how the error reporting inside LLParser normally works (e.g. the error() function).

Please also add a test -- or does this need a large test case?

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


More information about the llvm-commits mailing list