diff --git a/llvm/test/DebugInfo/X86/pieces-3.ll b/llvm/test/DebugInfo/X86/pieces-3.ll index 1a36672c30f6..223c48523d3d 100644 --- a/llvm/test/DebugInfo/X86/pieces-3.ll +++ b/llvm/test/DebugInfo/X86/pieces-3.ll @@ -24,9 +24,14 @@ ; ; CHECK: .debug_loc ; CHECK: [[LOC1]]: Beginning address offset: 0x0000000000000000 -; CHECK: Ending address offset: 0x0000000000000008 +; CHECK-NEXT: Ending address offset: 0x0000000000000004 ; rdi, piece 0x00000008, piece 0x00000004, rsi, piece 0x00000004 ; CHECK-NEXT: Location description: 55 93 08 93 04 54 93 04 +; This location is split into two ranges with identical locations +; because it comes from a DBG_VALUE %RSI followed by a DBG_VALUE %ESI. +; CHECK: Beginning address offset: 0x0000000000000004 +; CHECK-NEXT: Ending address offset: 0x0000000000000008 +; CHECK-NEXT: Location description: 55 93 08 93 04 54 93 04 ; CHECK: [[LOC2]]: Beginning address offset: 0x0000000000000004 ; CHECK-NEXT: Ending address offset: 0x0000000000000008 ; rsi, piece 0x00000004