[all-commits] [llvm/llvm-project] 85a798: MIPS: Adding a check for JAL argument in PIC mode ...

Renat Idrisov via All-commits all-commits at lists.llvm.org
Sun Dec 22 18:24:58 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 85a7989770136c8bcecffff960862045fbdb2161
      https://github.com/llvm/llvm-project/commit/85a7989770136c8bcecffff960862045fbdb2161
  Author: Renat Idrisov <4032256+parsifal-47 at users.noreply.github.com>
  Date:   2024-12-23 (Mon, 23 Dec 2024)

  Changed paths:
    M llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp

  Log Message:
  -----------
  MIPS: Adding a check for JAL argument in PIC mode to prevent crashing on getExpr (#120356)

Only an Expr is supported by JAL.
Let's check it before getExpr.
https://github.com/llvm/llvm-project/issues/80535

---------

Co-authored-by: Renat Idrisov <parsifal-47 at users.noreply.github.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list