Skip to content

Commit 979592a

Browse files
committed
[DebugInfo] Remove the DIFlagArgumentNotModified debug info flag
Due to changes in D68206, we remove the DIFlagArgumentNotModified and its usage. Differential Revision: https://reviews.llvm.org/D68207
1 parent 6a89ecb commit 979592a

23 files changed

+39
-58
lines changed

llvm/bindings/go/llvm/dibuilder.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ const (
5454
FlagVector
5555
FlagStaticMember
5656
FlagIndirectVariable
57-
FlagArgumentNotModified
5857
)
5958

6059
type DwarfLang uint32

llvm/docs/LangRef.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4857,13 +4857,6 @@ DIFlags
48574857

48584858
These flags encode various properties of DINodes.
48594859

4860-
The `ArgumentNotModified` flag marks a function argument whose value
4861-
is not modified throughout of a function. This flag is used to decide
4862-
whether a DW_OP_LLVM_entry_value can be used in a location description
4863-
after the function prologue. The language frontend is expected to compute
4864-
this property for each DILocalVariable. The flag should be used
4865-
only in optimized code.
4866-
48674860
The `ExportSymbols` flag marks a class, struct or union whose members
48684861
may be referenced as if they were defined in the containing class or
48694862
union. This flag is used to decide whether the DW_AT_export_symbols can

llvm/include/llvm/IR/DebugInfoFlags.def

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ HANDLE_DI_FLAG((3 << 16), VirtualInheritance)
5050
HANDLE_DI_FLAG((1 << 18), IntroducedVirtual)
5151
HANDLE_DI_FLAG((1 << 19), BitField)
5252
HANDLE_DI_FLAG((1 << 20), NoReturn)
53-
HANDLE_DI_FLAG((1 << 21), ArgumentNotModified)
5453
HANDLE_DI_FLAG((1 << 22), TypePassByValue)
5554
HANDLE_DI_FLAG((1 << 23), TypePassByReference)
5655
HANDLE_DI_FLAG((1 << 24), EnumClass)

llvm/include/llvm/IR/DebugInfoMetadata.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2815,11 +2815,6 @@ class DILocalVariable : public DIVariable {
28152815
bool isArtificial() const { return getFlags() & FlagArtificial; }
28162816
bool isObjectPointer() const { return getFlags() & FlagObjectPointer; }
28172817

2818-
/// Check that an argument is unmodified.
2819-
bool isNotModified() const { return getFlags() & FlagArgumentNotModified; }
2820-
/// Set the flag if an argument is unmodified.
2821-
void setIsNotModified() { Flags |= FlagArgumentNotModified; }
2822-
28232818
/// Check that a location is valid for this variable.
28242819
///
28252820
/// Check that \c DL exists, is in the same subprogram, and has the same

llvm/lib/CodeGen/LiveDebugValues.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1292,7 +1292,7 @@ bool LiveDebugValues::isEntryValueCandidate(
12921292
// TODO: Add support for modified arguments that can be expressed
12931293
// by using its entry value.
12941294
auto *DIVar = MI.getDebugVariable();
1295-
if (!DIVar->isParameter() || !DIVar->isNotModified())
1295+
if (!DIVar->isParameter())
12961296
return false;
12971297

12981298
// Do not consider parameters that belong to an inlined function.

llvm/test/Assembler/debug-info.ll

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
22
; RUN: verify-uselistorder %s
33

4-
; CHECK: !named = !{!0, !0, !1, !2, !3, !4, !5, !6, !7, !8, !8, !9, !10, !11, !12, !13, !14, !15, !16, !17, !18, !19, !20, !21, !22, !23, !24, !25, !26, !27, !27, !28, !29, !30, !31, !32, !33, !34, !35, !36, !37, !38, !39, !40, !41}
5-
!named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9, !10, !11, !12, !13, !14, !15, !16, !17, !18, !19, !20, !21, !22, !23, !24, !25, !26, !27, !28, !29, !30, !31, !32, !33, !34, !35, !36, !37, !38, !39, !40, !41, !42, !43, !44}
4+
; CHECK: !named = !{!0, !0, !1, !2, !3, !4, !5, !6, !7, !8, !8, !9, !10, !11, !12, !13, !14, !15, !16, !17, !18, !19, !20, !21, !22, !23, !24, !25, !26, !27, !27, !28, !29, !30, !31, !32, !33, !34, !35, !36, !37, !38, !39}
5+
!named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9, !10, !11, !12, !13, !14, !15, !16, !17, !18, !19, !20, !21, !22, !23, !24, !25, !26, !27, !28, !29, !30, !31, !32, !33, !34, !35, !36, !37, !38, !39, !40, !41, !42}
66

77
; CHECK: !0 = !DISubrange(count: 3)
88
; CHECK-NEXT: !1 = !DISubrange(count: 3, lowerBound: 4)
@@ -99,8 +99,3 @@
9999
; CHECK-NEXT: !39 = !DIBasicType(name: "u64.le", size: 64, align: 1, encoding: DW_ATE_unsigned, flags: DIFlagLittleEndian)
100100
!41 = !DIBasicType(name: "u64.be", size: 64, align: 1, encoding: DW_ATE_unsigned, flags: DIFlagBigEndian)
101101
!42 = !DIBasicType(name: "u64.le", size: 64, align: 1, encoding: DW_ATE_unsigned, flags: DIFlagLittleEndian)
102-
103-
; CHECK-NEXT: !40 = distinct !DISubprogram(name: "fn", scope: {{.*}}, file: {{.*}}, spFlags: 0)
104-
; CHECK-NEXT: !41 = !DILocalVariable(name: "Name", arg: 1, scope: {{.*}}, file: {{.*}}, line: 13, type: {{.*}}, flags: DIFlagArgumentNotModified)
105-
!43 = distinct !DISubprogram(name: "fn", scope: !12, file: !12, spFlags: 0)
106-
!44 = !DILocalVariable(name: "Name", arg: 1, scope: !43, file: !12, line: 13, type: !7, flags: DIFlagArgumentNotModified)

llvm/test/DebugInfo/ARM/entry-value-multi-byte-expr.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ attributes #1 = { nounwind readnone speculatable willreturn }
8383
!14 = !{!15, !6, !6}
8484
!15 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
8585
!16 = !{!17, !18}
86-
!17 = !DILocalVariable(name: "a", arg: 1, scope: !12, file: !3, line: 6, type: !6, flags: DIFlagArgumentNotModified)
87-
!18 = !DILocalVariable(name: "b", arg: 2, scope: !12, file: !3, line: 6, type: !6, flags: DIFlagArgumentNotModified)
86+
!17 = !DILocalVariable(name: "a", arg: 1, scope: !12, file: !3, line: 6, type: !6)
87+
!18 = !DILocalVariable(name: "b", arg: 2, scope: !12, file: !3, line: 6, type: !6)
8888
!19 = !DILocation(line: 0, scope: !12)
8989
!20 = !DILocation(line: 7, scope: !12)
9090
!21 = !DILocation(line: 8, scope: !12)

llvm/test/DebugInfo/MIR/AArch64/dbgcall-site-interpretation.mir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@
107107
!14 = !DISubroutineType(types: !15)
108108
!15 = !{!7, !7, !7, !7}
109109
!16 = !{!17, !18, !19, !20}
110-
!17 = !DILocalVariable(name: "arg1", arg: 1, scope: !13, file: !1, line: 9, type: !7, flags: DIFlagArgumentNotModified)
111-
!18 = !DILocalVariable(name: "arg2", arg: 2, scope: !13, file: !1, line: 9, type: !7, flags: DIFlagArgumentNotModified)
110+
!17 = !DILocalVariable(name: "arg1", arg: 1, scope: !13, file: !1, line: 9, type: !7)
111+
!18 = !DILocalVariable(name: "arg2", arg: 2, scope: !13, file: !1, line: 9, type: !7)
112112
!19 = !DILocalVariable(name: "arg3", arg: 3, scope: !13, file: !1, line: 9, type: !7)
113113
!20 = !DILocalVariable(name: "a", scope: !13, file: !1, line: 10, type: !7)
114114
!21 = !DILocation(line: 0, scope: !13)

llvm/test/DebugInfo/MIR/ARM/dbgcall-site-interpretation.mir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@
104104
!15 = !DISubroutineType(types: !16)
105105
!16 = !{!7, !7, !7, !7}
106106
!17 = !{!18, !19, !20, !21}
107-
!18 = !DILocalVariable(name: "arg1", arg: 1, scope: !14, file: !1, line: 9, type: !7, flags: DIFlagArgumentNotModified)
108-
!19 = !DILocalVariable(name: "arg2", arg: 2, scope: !14, file: !1, line: 9, type: !7, flags: DIFlagArgumentNotModified)
107+
!18 = !DILocalVariable(name: "arg1", arg: 1, scope: !14, file: !1, line: 9, type: !7)
108+
!19 = !DILocalVariable(name: "arg2", arg: 2, scope: !14, file: !1, line: 9, type: !7)
109109
!20 = !DILocalVariable(name: "arg3", arg: 3, scope: !14, file: !1, line: 9, type: !7)
110110
!21 = !DILocalVariable(name: "a", scope: !14, file: !1, line: 10, type: !7)
111111
!22 = !DILocation(line: 0, scope: !14)

llvm/test/DebugInfo/MIR/ARM/dbgcall-site-propagated-value.mir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@
8585
!30 = !DISubroutineType(types: !31)
8686
!31 = !{null, !7, !7}
8787
!32 = !{!33, !34}
88-
!33 = !DILocalVariable(name: "p1", arg: 1, scope: !29, file: !1, line: 5, type: !7, flags: DIFlagArgumentNotModified)
89-
!34 = !DILocalVariable(name: "p2", arg: 2, scope: !29, file: !1, line: 5, type: !7, flags: DIFlagArgumentNotModified)
88+
!33 = !DILocalVariable(name: "p1", arg: 1, scope: !29, file: !1, line: 5, type: !7)
89+
!34 = !DILocalVariable(name: "p2", arg: 2, scope: !29, file: !1, line: 5, type: !7)
9090
!35 = !DILocation(line: 0, scope: !29)
9191
!36 = !DILocation(line: 6, scope: !37)
9292
!37 = distinct !DILexicalBlock(scope: !29, file: !1, line: 6)

llvm/test/DebugInfo/MIR/ARM/if-coverter-call-site-info.mir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@
8484
!13 = !{!"clang version 10.0.0 "}
8585
!14 = distinct !DISubprogram(name: "baa", scope: !1, file: !1, line: 14, type: !5, scopeLine: 15, flags: DIFlagPrototyped | DIFlagAllCallsDescribed, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !0, retainedNodes: !15)
8686
!15 = !{!16, !17}
87-
!16 = !DILocalVariable(name: "secptr", arg: 1, scope: !14, file: !1, line: 14, type: !7, flags: DIFlagArgumentNotModified)
88-
!17 = !DILocalVariable(name: "subseg", arg: 2, scope: !14, file: !1, line: 14, type: !8, flags: DIFlagArgumentNotModified)
87+
!16 = !DILocalVariable(name: "secptr", arg: 1, scope: !14, file: !1, line: 14, type: !7)
88+
!17 = !DILocalVariable(name: "subseg", arg: 2, scope: !14, file: !1, line: 14, type: !8)
8989
!18 = !DILocation(line: 0, scope: !14)
9090
!19 = !DILocation(line: 16, column: 17, scope: !20)
9191
!20 = distinct !DILexicalBlock(scope: !14, file: !1, line: 16, column: 7)

llvm/test/DebugInfo/MIR/Hexagon/live-debug-values-bundled-entry-values.mir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@
5959
!13 = !DISubroutineType(types: !14)
6060
!14 = !{!7, !7}
6161
!15 = !{!16}
62-
!16 = !DILocalVariable(name: "arg", arg: 1, scope: !12, file: !1, line: 3, type: !7, flags: DIFlagArgumentNotModified)
62+
!16 = !DILocalVariable(name: "arg", arg: 1, scope: !12, file: !1, line: 3, type: !7)
6363
!17 = !DILocation(line: 0, scope: !12)
6464
!18 = !DILocation(line: 4, scope: !12)
6565
!19 = !DILocation(line: 5, scope: !12)
6666
!20 = distinct !DISubprogram(name: "bar", scope: !1, file: !1, line: 8, type: !13, scopeLine: 8, flags: DIFlagPrototyped | DIFlagAllCallsDescribed, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !0, retainedNodes: !21)
6767
!21 = !{!22}
68-
!22 = !DILocalVariable(name: "arg", arg: 1, scope: !20, file: !1, line: 8, type: !7, flags: DIFlagArgumentNotModified)
68+
!22 = !DILocalVariable(name: "arg", arg: 1, scope: !20, file: !1, line: 8, type: !7)
6969
!23 = !DILocation(line: 0, scope: !20)
7070
!24 = !DILocation(line: 9, scope: !20)
7171
!25 = !DILocation(line: 9, scope: !26)

llvm/test/DebugInfo/MIR/X86/DW_OP_entry_value.mir

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@
5151
!12 = !DISubroutineType(types: !13)
5252
!13 = !{!6, !6, !6, !6}
5353
!14 = !{!15, !16, !17}
54-
!15 = !DILocalVariable(name: "p", arg: 1, scope: !11, file: !3, line: 9, type: !6, flags: DIFlagArgumentNotModified)
55-
!16 = !DILocalVariable(name: "q", arg: 2, scope: !11, file: !3, line: 9, type: !6, flags: DIFlagArgumentNotModified)
56-
!17 = !DILocalVariable(name: "r", arg: 3, scope: !11, file: !3, line: 9, type: !6, flags: DIFlagArgumentNotModified)
54+
!15 = !DILocalVariable(name: "p", arg: 1, scope: !11, file: !3, line: 9, type: !6)
55+
!16 = !DILocalVariable(name: "q", arg: 2, scope: !11, file: !3, line: 9, type: !6)
56+
!17 = !DILocalVariable(name: "r", arg: 3, scope: !11, file: !3, line: 9, type: !6)
5757
!18 = !DILocation(line: 9, column: 13, scope: !11)
5858
!19 = !{i32 213}
5959

llvm/test/DebugInfo/MIR/X86/avoid-single-entry-value-location.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
!13 = !DISubroutineType(types: !14)
4646
!14 = !{null, !7, !7}
4747
!15 = !{!16, !17}
48-
!16 = !DILocalVariable(name: "x", arg: 1, scope: !12, file: !1, line: 5, type: !7, flags: DIFlagArgumentNotModified)
48+
!16 = !DILocalVariable(name: "x", arg: 1, scope: !12, file: !1, line: 5, type: !7)
4949
!17 = !DILocalVariable(name: "y", scope: !12, file: !1, line: 5, type: !7)
5050
!18 = !DILocation(line: 0, scope: !12)
5151

llvm/test/DebugInfo/MIR/X86/dbg-call-site-spilled-arg.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
!12 = !{!"clang version 10.0.0 ([email protected]:llvm/llvm-project.git 132f768649d8f21d577ee220e5e084904874cb3d)"}
6969
!13 = distinct !DISubprogram(name: "caller", linkageName: "_Z6calleri", scope: !1, file: !1, line: 10, type: !5, scopeLine: 10, flags: DIFlagPrototyped | DIFlagAllCallsDescribed, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !0, retainedNodes: !14)
7070
!14 = !{!15}
71-
!15 = !DILocalVariable(name: "x", arg: 1, scope: !13, file: !1, line: 10, type: !7, flags: DIFlagArgumentNotModified)
71+
!15 = !DILocalVariable(name: "x", arg: 1, scope: !13, file: !1, line: 10, type: !7)
7272
!16 = !DILocation(line: 0, scope: !13)
7373
!17 = !DILocation(line: 11, column: 3, scope: !13)
7474
!18 = !{i32 -2147469811}

llvm/test/DebugInfo/MIR/X86/dbgcall-site-interpretation.mir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@
102102
!12 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
103103
!13 = !{!14, !15, !16, !17, !18, !19, !20}
104104
!14 = !DILocalVariable(name: "arg1", arg: 1, scope: !9, file: !1, line: 10, type: !12)
105-
!15 = !DILocalVariable(name: "arg2", arg: 2, scope: !9, file: !1, line: 10, type: !12, flags: DIFlagArgumentNotModified)
105+
!15 = !DILocalVariable(name: "arg2", arg: 2, scope: !9, file: !1, line: 10, type: !12)
106106
!16 = !DILocalVariable(name: "arg3", arg: 3, scope: !9, file: !1, line: 10, type: !12)
107-
!17 = !DILocalVariable(name: "arg4", arg: 4, scope: !9, file: !1, line: 10, type: !12, flags: DIFlagArgumentNotModified)
107+
!17 = !DILocalVariable(name: "arg4", arg: 4, scope: !9, file: !1, line: 10, type: !12)
108108
!18 = !DILocalVariable(name: "local1", scope: !9, file: !1, line: 11, type: !12)
109109
!19 = !DILocalVariable(name: "local2", scope: !9, file: !1, line: 11, type: !12)
110110
!20 = !DILocalVariable(name: "local3", scope: !9, file: !1, line: 11, type: !12)

llvm/test/DebugInfo/MIR/X86/dbginfo-entryvals.mir

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@
5656
!11 = !{null, !12, !12}
5757
!12 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
5858
!13 = !{!14, !15, !16, !17}
59-
!14 = !DILocalVariable(name: "x", arg: 1, scope: !9, file: !1, line: 15, type: !12, flags: DIFlagArgumentNotModified)
60-
!15 = !DILocalVariable(name: "y", arg: 2, scope: !9, file: !1, line: 15, type: !12, flags: DIFlagArgumentNotModified)
61-
!16 = !DILocalVariable(name: "u", scope: !9, file: !1, line: 16, type: !12, flags: DIFlagArgumentNotModified)
62-
!17 = !DILocalVariable(name: "a", scope: !9, file: !1, line: 21, type: !12, flags: DIFlagArgumentNotModified)
59+
!14 = !DILocalVariable(name: "x", arg: 1, scope: !9, file: !1, line: 15, type: !12)
60+
!15 = !DILocalVariable(name: "y", arg: 2, scope: !9, file: !1, line: 15, type: !12)
61+
!16 = !DILocalVariable(name: "u", scope: !9, file: !1, line: 16, type: !12)
62+
!17 = !DILocalVariable(name: "a", scope: !9, file: !1, line: 21, type: !12)
6363
!18 = !DILocation(line: 15, column: 10, scope: !9)
6464

6565
...

llvm/test/DebugInfo/MIR/X86/debug-call-site-param.mir

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@
120120
!12 = !{null, !13, !13, !13}
121121
!13 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
122122
!14 = !{!15, !16, !17, !18}
123-
!15 = !DILocalVariable(name: "arg1", arg: 1, scope: !10, file: !1, line: 4, type: !13, flags: DIFlagArgumentNotModified)
124-
!16 = !DILocalVariable(name: "arg2", arg: 2, scope: !10, file: !1, line: 4, type: !13, flags: DIFlagArgumentNotModified)
125-
!17 = !DILocalVariable(name: "arg3", arg: 3, scope: !10, file: !1, line: 4, type: !13, flags: DIFlagArgumentNotModified)
123+
!15 = !DILocalVariable(name: "arg1", arg: 1, scope: !10, file: !1, line: 4, type: !13)
124+
!16 = !DILocalVariable(name: "arg2", arg: 2, scope: !10, file: !1, line: 4, type: !13)
125+
!17 = !DILocalVariable(name: "arg3", arg: 3, scope: !10, file: !1, line: 4, type: !13)
126126
!18 = !DILocalVariable(name: "local1", scope: !10, file: !1, line: 5, type: !13)
127127
!19 = !DILocation(line: 4, column: 14, scope: !10)
128128
!20 = !DILocation(line: 4, column: 24, scope: !10)

llvm/test/DebugInfo/MIR/X86/multiple-param-dbg-value-entry.mir

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@
5353
!12 = !DISubroutineType(types: !13)
5454
!13 = !{!6, !6, !6, !6}
5555
!14 = !{!15, !16, !17}
56-
!15 = !DILocalVariable(name: "p", arg: 1, scope: !11, file: !3, line: 9, type: !6, flags: DIFlagArgumentNotModified)
57-
!16 = !DILocalVariable(name: "q", arg: 2, scope: !11, file: !3, line: 9, type: !6, flags: DIFlagArgumentNotModified)
58-
!17 = !DILocalVariable(name: "r", arg: 3, scope: !11, file: !3, line: 9, type: !6, flags: DIFlagArgumentNotModified)
56+
!15 = !DILocalVariable(name: "p", arg: 1, scope: !11, file: !3, line: 9, type: !6)
57+
!16 = !DILocalVariable(name: "q", arg: 2, scope: !11, file: !3, line: 9, type: !6)
58+
!17 = !DILocalVariable(name: "r", arg: 3, scope: !11, file: !3, line: 9, type: !6)
5959
!18 = !DILocation(line: 9, column: 13, scope: !11)
6060
!19 = !{i32 213}
6161

llvm/test/DebugInfo/Sparc/entry-value-complex-reg-expr.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ attributes #1 = { nounwind readnone speculatable willreturn }
7272
!14 = !{!15, !7}
7373
!15 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
7474
!16 = !{!17}
75-
!17 = !DILocalVariable(name: "p", arg: 1, scope: !12, file: !3, line: 3, type: !7, flags: DIFlagArgumentNotModified)
75+
!17 = !DILocalVariable(name: "p", arg: 1, scope: !12, file: !3, line: 3, type: !7)
7676
!18 = !DILocation(line: 0, scope: !12)
7777
!19 = !DILocation(line: 4, scope: !12)
7878
!20 = !DILocation(line: 5, scope: !12)

llvm/test/tools/llvm-dwarfdump/X86/locstats.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ declare void @llvm.dbg.value(metadata, metadata, metadata)
191191
!17 = !DISubroutineType(types: !18)
192192
!18 = !{null, !7, !7}
193193
!19 = !{!20, !21, !22, !23}
194-
!20 = !DILocalVariable(name: "x", arg: 1, scope: !16, file: !1, line: 6, type: !7, flags: DIFlagArgumentNotModified)
195-
!21 = !DILocalVariable(name: "y", arg: 2, scope: !16, file: !1, line: 6, type: !7, flags: DIFlagArgumentNotModified)
194+
!20 = !DILocalVariable(name: "x", arg: 1, scope: !16, file: !1, line: 6, type: !7)
195+
!21 = !DILocalVariable(name: "y", arg: 2, scope: !16, file: !1, line: 6, type: !7)
196196
!22 = !DILocalVariable(name: "u", scope: !16, file: !1, line: 8, type: !7)
197197
!23 = !DILocalVariable(name: "a", scope: !16, file: !1, line: 18, type: !7)
198198
!24 = !DILocation(line: 0, scope: !16)

llvm/test/tools/llvm-dwarfdump/X86/stats-dbg-callsite-info.ll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ declare void @llvm.dbg.value(metadata, metadata, metadata)
6464
!12 = !{null, !13, !13, !13}
6565
!13 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
6666
!14 = !{!15, !16, !17, !18}
67-
!15 = !DILocalVariable(name: "arg1", arg: 1, scope: !10, file: !1, line: 4, type: !13, flags: DIFlagArgumentNotModified)
68-
!16 = !DILocalVariable(name: "arg2", arg: 2, scope: !10, file: !1, line: 4, type: !13, flags: DIFlagArgumentNotModified)
69-
!17 = !DILocalVariable(name: "arg3", arg: 3, scope: !10, file: !1, line: 4, type: !13, flags: DIFlagArgumentNotModified)
67+
!15 = !DILocalVariable(name: "arg1", arg: 1, scope: !10, file: !1, line: 4, type: !13)
68+
!16 = !DILocalVariable(name: "arg2", arg: 2, scope: !10, file: !1, line: 4, type: !13)
69+
!17 = !DILocalVariable(name: "arg3", arg: 3, scope: !10, file: !1, line: 4, type: !13)
7070
!18 = !DILocalVariable(name: "local1", scope: !10, file: !1, line: 5, type: !13)
7171
!19 = !DILocation(line: 4, column: 14, scope: !10)
7272
!20 = !DILocation(line: 4, column: 24, scope: !10)

llvm/test/tools/llvm-dwarfdump/X86/valid-call-site-GNU-extensions.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ declare void @llvm.dbg.value(metadata, metadata, metadata)
9090
!17 = !{null, !18}
9191
!18 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !7, size: 64)
9292
!19 = !{!20, !21}
93-
!20 = !DILocalVariable(name: "arg", arg: 1, scope: !15, file: !1, line: 6, type: !18, flags: DIFlagArgumentNotModified)
93+
!20 = !DILocalVariable(name: "arg", arg: 1, scope: !15, file: !1, line: 6, type: !18)
9494
!21 = !DILocalVariable(name: "a", scope: !15, file: !1, line: 7, type: !7)
9595
!22 = !DILocation(line: 0, scope: !15)
9696
!23 = !DILocation(line: 7, column: 11, scope: !15)

0 commit comments

Comments
 (0)