[all-commits] [llvm/llvm-project] 7603c7: [IR][NFC] Assert that FunctionType::getParamType i...

Sebastian Neubauer via All-commits all-commits at lists.llvm.org
Thu Oct 12 07:27:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7603c77f23767b97a587914d33a44061d8b7f9a7
      https://github.com/llvm/llvm-project/commit/7603c77f23767b97a587914d33a44061d8b7f9a7
  Author: Sebastian Neubauer <Flakebi at users.noreply.github.com>
  Date:   2023-10-12 (Thu, 12 Oct 2023)

  Changed paths:
    M llvm/include/llvm/IR/DerivedTypes.h

  Log Message:
  -----------
  [IR][NFC] Assert that FunctionType::getParamType is in-bounds (#68887)

Like for Function::getArg, assert that the fetched argument is in-range
and not out-of-bounds.




More information about the All-commits mailing list