[all-commits] [llvm/llvm-project] bf4167: [Clang] Don't crash if input file is not a module....

Dmitriy Chestnykh via All-commits all-commits at lists.llvm.org
Thu Jul 11 01:49:20 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bf4167fd1d06ff68da2cbea210a4ccfa045694d3
      https://github.com/llvm/llvm-project/commit/bf4167fd1d06ff68da2cbea210a4ccfa045694d3
  Author: Dmitriy Chestnykh <dm.chestnykh at gmail.com>
  Date:   2024-07-11 (Thu, 11 Jul 2024)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticFrontendKinds.td
    M clang/lib/Frontend/FrontendActions.cpp
    A clang/test/Frontend/module-file-info-not-a-module.c

  Log Message:
  -----------
  [Clang] Don't crash if input file is not a module. (#98439)

Currently clang crashes with `-module-file-info` and input file which is
not a module
Emit error instead of segfaulting.
Fix #98365



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