[all-commits] [llvm/llvm-project] 2d3d2e: MIR: Fix parser crash on syntax error on first cha...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Feb 18 15:59:26 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2d3d2e78d08578f4699cc268b7c292c3ff97e7fe
      https://github.com/llvm/llvm-project/commit/2d3d2e78d08578f4699cc268b7c292c3ff97e7fe
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    M llvm/lib/CodeGen/MIRParser/MIRParser.cpp
    A llvm/test/CodeGen/MIR/Generic/first-character-parse-error.mir

  Log Message:
  -----------
  MIR: Fix parser crash on syntax error on first character

This was calling the diagnostic printer before the context member was
initialized.




More information about the All-commits mailing list