diff options
Diffstat (limited to 'llvm/test/DebugInfo/COFF/pr37492.ll')
-rw-r--r-- | llvm/test/DebugInfo/COFF/pr37492.ll | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/llvm/test/DebugInfo/COFF/pr37492.ll b/llvm/test/DebugInfo/COFF/pr37492.ll index 7edff440b67..bdf0bc77d1c 100644 --- a/llvm/test/DebugInfo/COFF/pr37492.ll +++ b/llvm/test/DebugInfo/COFF/pr37492.ll @@ -12,20 +12,22 @@ ; collision between this LF_BITFIELD and LF_MODIFIER record, so we only emitted ; one under the assumption that the other was redundant. Check that we emit both. -; CHECK-LABEL: # BitField ({{.*}}) { -; CHECK-NEXT: # TypeLeafKind: LF_BITFIELD (0x1205) -; CHECK-NEXT: # Type: unsigned char (0x20) -; CHECK-NEXT: # BitSize: 1 -; CHECK-NEXT: # BitOffset: 0 -; CHECK-NEXT: # } - -; CHECK-LABEL: # Modifier ({{.*}}) { -; CHECK-NEXT: # TypeLeafKind: LF_MODIFIER (0x1001) -; CHECK-NEXT: # ModifiedType: unsigned char (0x20) -; CHECK-NEXT: # Modifiers [ (0x1) -; CHECK-NEXT: # Const (0x1) -; CHECK-NEXT: # ] -; CHECK-NEXT: # } +; CHECK-LABEL: # BitField (0x1001) +; CHECK-NEXT: .short 0xa # Record length +; CHECK-NEXT: .short 0x1205 # Record kind: LF_BITFIELD +; CHECK-NEXT: .long 0x20 # Type: unsigned char +; CHECK-NEXT: .byte 0x1 # BitSize +; CHECK-NEXT: .byte 0x0 # BitOffset +; CHECK-NEXT: .byte 242 +; CHECK-NEXT: .byte 241 + +; CHECK-LABEL: # Modifier (0x1007) +; CHECK-NEXT: .short 0xa # Record length +; CHECK-NEXT: .short 0x1001 # Record kind: LF_MODIFIER +; CHECK-NEXT: .long 0x20 # ModifiedType: unsigned char +; CHECK-NEXT: .short 0x1 # Modifiers ( Const (0x1) ) +; CHECK-NEXT: .byte 242 +; CHECK-NEXT: .byte 241 ; ModuleID = 't.cpp' source_filename = "t.cpp" |