Skip to content

Commit

Permalink
Add issue reference to disasm-test known_bug entry.
Browse files Browse the repository at this point in the history
  • Loading branch information
kquick committed Feb 3, 2025
1 parent 4a3828e commit 2f583f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions disasm-test/known_bugs/llvm_dbg_declare_inline
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
##> rootMatchName: localstatic.ll
##> summary: llvm.dbg.declare should use md refs and not inline

Logged in https://github.com/GaloisInc/llvm-pretty-bc-parser/issues/260

Attempts to inline declare the !DILocalVariable for the file-local static:

call void @llvm.dbg.declare(metadata i32* %2, metadata !DILocalVariable(scope: !DISubprogram(scope: !3, name: "has_local_static", file: !3, line: 5, type: !9, isLocal: false, isDefinition: true, scopeLine: 5, virtuality: 0, virtualIndex: 0, flags: 256, isOptimized: false, unit: !2, retainedNodes: !4), name: "x", file: !DIFile(filename: "localstatic.c", directory: "/home/kquick/work/DFAMS/tp241209/sources/llvm-pretty-bc-parser/disasm-test/tests"), line: 5, type: !DIBasicType(tag: 36, name: "int", size: 32, align: 0, encoding: 5, flags: 0), arg: 1, flags: 0, align: 0), metadata !DIExpression()), !dbg !DILocation(line: 5, column: 26, scope: !0)
Expand Down

0 comments on commit 2f583f5

Please sign in to comment.