[all-commits] [llvm/llvm-project] 50e3d0: [flang][driver] Improve diagnostic for assembly in...

Soumik Kumar Basu via All-commits all-commits at lists.llvm.org
Thu Feb 5 06:44:03 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 50e3d0cee541945f38fc234169390278c3ed967e
      https://github.com/llvm/llvm-project/commit/50e3d0cee541945f38fc234169390278c3ed967e
  Author: Soumik Kumar Basu <97104371+soumikiith at users.noreply.github.com>
  Date:   2026-02-05 (Thu, 05 Feb 2026)

  Changed paths:
    A flang/test/Driver/asm-error-fix.s
    M flang/test/lit.cfg.py
    M flang/tools/flang-driver/driver.cpp

  Log Message:
  -----------
  [flang][driver] Improve diagnostic for assembly inputs

When an assembly file is passed to the Flang driver, it currently fails
with a confusing internal error mentioning the unsupported `-cc1as`
tool.

This update detects assembly inputs early in the driver and emits a
clear, user-facing diagnostic explaining that Flang does not support
assembly files as input. The logic is implemented in a small helper
function and is intentionally temporary, so it can be removed once Flang
gains support for assembling inputs.

Fixes: #173528



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