[all-commits] [llvm/llvm-project] 80e8c0: [DebugInfo] Fill Column 0 if Line is not found (#2...

aokblast via All-commits all-commits at lists.llvm.org
Wed Sep 30 09:05:35 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 80e8c0a59189bc4c4954b6ebe2d08ee8f4b8c904
      https://github.com/llvm/llvm-project/commit/80e8c0a59189bc4c4954b6ebe2d08ee8f4b8c904
  Author: aokblast <aokblast at FreeBSD.org>
  Date:   2026-09-30 (Wed, 30 Sep 2026)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    A clang/test/CodeGen/debug-info-line0-lexical-block.c

  Log Message:
  -----------
  [DebugInfo] Fill Column 0 if Line is not found (#227559)

It is possible that user specified line 0 as the start of the line in C
language (using `# 0`). However, it is rejected by the Lexer as we have
no line but still carries column information. As a result, we fill
column to 0 if we cannot find line.

Assisted-by: Claude # Test
Fixes: #56186



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