[all-commits] [llvm/llvm-project] 52ae3b: [DWARF][MC] improve the error message when DwarfLi...

Esme via All-commits all-commits at lists.llvm.org
Sun May 7 21:57:01 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 52ae3b5725441dca252c6e7bbbb23fc7c316a591
  Author: esmeyi <esme.yi at ibm.com>
  Date:   2023-05-08 (Mon, 08 May 2023)

  Changed paths:
    M llvm/lib/MC/MCDwarf.cpp

  Log Message:
  [DWARF][MC] improve the error message when DwarfLineStrSection is null.

Summary: Currently the crush info is ambiguous when DwarfLineStrSection is null. The patch adds an assertion in the constructor of MCDwarfLineStr when DwarfLineStrSection is null.

Reviewed By: shchenz

Differential Revision: https://reviews.llvm.org/D149121

More information about the All-commits mailing list