[all-commits] [llvm/llvm-project] dfd36a: [AsmParser] Gracefully handle non-existent GV summ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Dec 7 08:01:03 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dfd36aa70ec1cff0529272b00f6c6a81bf0cc49c
      https://github.com/llvm/llvm-project/commit/dfd36aa70ec1cff0529272b00f6c6a81bf0cc49c
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M llvm/include/llvm/AsmParser/LLParser.h
    M llvm/lib/AsmParser/LLParser.cpp
    A llvm/test/Assembler/summary-parsing-error.ll

  Log Message:
  -----------
  [AsmParser] Gracefully handle non-existent GV summary reference

If the module summary references a global variable that does not
exist, throw a nice error instead of asserting.

Fixes https://github.com/llvm/llvm-project/issues/74726.




More information about the All-commits mailing list