Commit local changes that missed llvm.dbg.addr

llvm-svn: 313826
This commit is contained in:
Reid Kleckner 2017-09-20 21:56:21 +00:00
parent 3f547e87b2
commit 81dda0efe3
1 changed files with 4 additions and 2 deletions

View File

@ -51,7 +51,8 @@ entry:
; ASM: callq escape ; ASM: callq escape
; ASM: #DEBUG_VALUE: f:x <- 1 ; ASM: #DEBUG_VALUE: f:x <- 1
; ASM: movl $1, global(%rip) ; ASM: movl $1, global(%rip)
; ASM: #DEBUG_VALUE: f:x <- [DW_OP_plus_uconst [[OFF_X]]] [%RSP+0] ; FIXME: Needs a fix to LiveDebugVariables
; ASMX: #DEBUG_VALUE: f:x <- [DW_OP_plus_uconst [[OFF_X]]] [%RSP+0]
; ASM: movl $2, [[OFF_X]](%rsp) ; ASM: movl $2, [[OFF_X]](%rsp)
; ASM: callq escape ; ASM: callq escape
; ASM: retq ; ASM: retq
@ -60,7 +61,8 @@ entry:
; DWARF-NEXT: DW_AT_location (0x00000000 ; DWARF-NEXT: DW_AT_location (0x00000000
; DWARF-NEXT: {{[^:]*}}: DW_OP_breg7 RSP+{{[0-9]+}} ; DWARF-NEXT: {{[^:]*}}: DW_OP_breg7 RSP+{{[0-9]+}}
; DWARF-NEXT: {{[^:]*}}: DW_OP_consts +1, DW_OP_stack_value ; DWARF-NEXT: {{[^:]*}}: DW_OP_consts +1, DW_OP_stack_value
; DWARF-NEXT: {{[^:]*}}: DW_OP_breg7 RSP+{{[0-9]+}}) ; FIXME: Needs a fix to LiveDebugVariables
; DWARFX-NEXT: {{[^:]*}}: DW_OP_breg7 RSP+{{[0-9]+}})
; DWARF-NEXT: DW_AT_name ("x") ; DWARF-NEXT: DW_AT_name ("x")
attributes #0 = { nounwind uwtable } attributes #0 = { nounwind uwtable }