[all-commits] [llvm/llvm-project] 34cfe1: [DebugInfo] Fill Column 0 if Line is not found
aokblast via All-commits
all-commits at lists.llvm.org
Tue Sep 29 22:16:03 PDT 2026
Branch: refs/heads/users/aokblast/clang/debug_ir_check_fix_line0
Home: https://github.com/llvm/llvm-project
Commit: 34cfe1763305f7293a4a8287c6a169477cd4b707
https://github.com/llvm/llvm-project/commit/34cfe1763305f7293a4a8287c6a169477cd4b707
Author: ShengYi Hung <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
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
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