[PATCH] D144337: Prevent line 0 instructions from dividing a lexical block into ranges

ykhatav via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 20 06:33:52 PST 2023


ykhatav updated this revision to Diff 498829.
ykhatav added a comment.

Nit:test-fix


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144337/new/

https://reviews.llvm.org/D144337

Files:
  llvm/test/DebugInfo/X86/contiguous-lexical-block.ll


Index: llvm/test/DebugInfo/X86/contiguous-lexical-block.ll
===================================================================
--- llvm/test/DebugInfo/X86/contiguous-lexical-block.ll
+++ llvm/test/DebugInfo/X86/contiguous-lexical-block.ll
@@ -67,8 +67,7 @@
 !13 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
 !14 = !DILocation(line: 34, column: 1, scope: !10)
 !15 = !DILocation(line: 0, scope: !16)
-!16 = !DILexicalBlockFile(scope: !5, file: !17, discriminator: 0)
-!17 = !DIFile(filename: "CPU_DEVICE_RT", directory: "/")
+!16 = !DILexicalBlockFile(scope: !5, file: !3, discriminator: 0)
 !18 = !DILocation(line: 36, column: 21, scope: !19)
 !19 = distinct !DILexicalBlock(scope: !20, file: !3, line: 36, column: 7)
 !20 = distinct !DILexicalBlock(scope: !21, file: !3, line: 36, column: 7)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144337.498829.patch
Type: text/x-patch
Size: 811 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230220/aa57c34a/attachment.bin>


More information about the llvm-commits mailing list