diff options
| author | Bob Haarman <llvm@inglorion.net> | 2017-08-29 04:08:31 +0000 |
|---|---|---|
| committer | Bob Haarman <llvm@inglorion.net> | 2017-08-29 04:08:31 +0000 |
| commit | 0bf0d666823a5e6cfbe2e54c33b1792eb202ae81 (patch) | |
| tree | 1094683de09cc6aa05b0ab2a13eba1902d7d678e /llvm/test/DebugInfo/COFF | |
| parent | 858d0983830cfbfdd269a4b72e7fb45f12909beb (diff) | |
| download | bcm5719-llvm-0bf0d666823a5e6cfbe2e54c33b1792eb202ae81.tar.gz bcm5719-llvm-0bf0d666823a5e6cfbe2e54c33b1792eb202ae81.zip | |
Revert "[codeview] support more DW_OPs for more complete debug info"
This reverts commit e160912f53f047bc97e572add179e08e33f4df48.
llvm-svn: 311977
Diffstat (limited to 'llvm/test/DebugInfo/COFF')
| -rw-r--r-- | llvm/test/DebugInfo/COFF/pieces.ll | 12 | ||||
| -rw-r--r-- | llvm/test/DebugInfo/COFF/types-array-advanced.ll | 75 |
2 files changed, 17 insertions, 70 deletions
diff --git a/llvm/test/DebugInfo/COFF/pieces.ll b/llvm/test/DebugInfo/COFF/pieces.ll index 9a90300bb99..6d363cf5443 100644 --- a/llvm/test/DebugInfo/COFF/pieces.ll +++ b/llvm/test/DebugInfo/COFF/pieces.ll @@ -179,7 +179,8 @@ ; ASM: .asciz "nested" # Function name ; ASM: .short 4414 # Record kind: S_LOCAL ; ASM: .asciz "o" -; ASM: .cv_def_range .Lfunc_begin3 .Lfunc_end3, "E\021J\001\000\000\000\000\000\000" +; FIXME: We should have a .cv_def_range for 'o', but we don't yet. +; ASM-NOT: .cv_def_range ; ASM: .short 4414 # Record kind: S_LOCAL ; ASM: .asciz "p" ; ASM: .cv_def_range [[p_start]] .Lfunc_end3, "C\021\021\000\000\000\004\000\000\000" @@ -189,17 +190,8 @@ ; OBJ: DisplayName: nested ; OBJ: } ; OBJ: LocalSym { -; OBJ: Type: Nested& ; OBJ: VarName: o ; OBJ: } -; OBJ: DefRangeRegisterRelSym { -; OBJ: BaseRegister: 330 -; OBJ: HasSpilledUDTMember: No -; OBJ: OffsetInParent: 0 -; OBJ: BasePointerOffset: 0 -; OBJ: LocalVariableAddrRange { -; OBJ: } -; OBJ: } ; OBJ: LocalSym { ; OBJ: VarName: p ; OBJ: } diff --git a/llvm/test/DebugInfo/COFF/types-array-advanced.ll b/llvm/test/DebugInfo/COFF/types-array-advanced.ll index 69da2b53993..d8985504e32 100644 --- a/llvm/test/DebugInfo/COFF/types-array-advanced.ll +++ b/llvm/test/DebugInfo/COFF/types-array-advanced.ll @@ -50,40 +50,28 @@ ; CHECK: SizeOf: 4 ; CHECK: Name: ; CHECK: } -; CHECK: Pointer (0x1004) { -; CHECK: TypeLeafKind: LF_POINTER (0x1002) -; CHECK: PointeeType: 0x1003 -; CHECK: PointerAttributes: 0x2A -; CHECK: PtrType: Near32 (0xA) -; CHECK: PtrMode: LValueReference (0x1) -; CHECK: IsFlat: 0 -; CHECK: IsConst: 0 -; CHECK: IsVolatile: 0 -; CHECK: IsUnaligned: 0 -; CHECK: SizeOf: 0 -; CHECK: } -; CHECK: Array (0x1005) { +; CHECK: Array (0x1004) { ; CHECK: TypeLeafKind: LF_ARRAY (0x1503) ; CHECK: ElementType: char (0x70) ; CHECK: IndexType: unsigned long (0x22) ; CHECK: SizeOf: 7 ; CHECK: Name: ; CHECK: } -; CHECK: Array (0x1006) { +; CHECK: Array (0x1005) { ; CHECK: TypeLeafKind: LF_ARRAY (0x1503) -; CHECK: ElementType: 0x1005 +; CHECK: ElementType: 0x1004 ; CHECK: IndexType: unsigned long (0x22) ; CHECK: SizeOf: 35 ; CHECK: Name: ; CHECK: } -; CHECK: Array (0x1007) { +; CHECK: Array (0x1006) { ; CHECK: TypeLeafKind: LF_ARRAY (0x1503) -; CHECK: ElementType: 0x1006 +; CHECK: ElementType: 0x1005 ; CHECK: IndexType: unsigned long (0x22) ; CHECK: SizeOf: 70 ; CHECK: Name: ; CHECK: } -; CHECK: Struct (0x1008) { +; CHECK: Struct (0x1007) { ; CHECK: TypeLeafKind: LF_STRUCTURE (0x1505) ; CHECK: MemberCount: 0 ; CHECK: Properties [ (0x280) @@ -97,16 +85,16 @@ ; CHECK: Name: incomplete_struct ; CHECK: LinkageName: .?AUincomplete_struct@@ ; CHECK: } -; CHECK: Array (0x1009) { +; CHECK: Array (0x1008) { ; CHECK: TypeLeafKind: LF_ARRAY (0x1503) -; CHECK: ElementType: incomplete_struct (0x1008) +; CHECK: ElementType: incomplete_struct (0x1007) ; CHECK: IndexType: unsigned long (0x22) ; CHECK: SizeOf: 12 ; CHECK: Name: ; CHECK: } -; CHECK: Pointer (0x100A) { +; CHECK: Pointer (0x1009) { ; CHECK: TypeLeafKind: LF_POINTER (0x1002) -; CHECK: PointeeType: 0x1009 +; CHECK: PointeeType: 0x1008 ; CHECK: PointerAttributes: 0x800A ; CHECK: PtrType: Near32 (0xA) ; CHECK: PtrMode: Pointer (0x0) @@ -116,41 +104,8 @@ ; CHECK: IsUnaligned: 0 ; CHECK: SizeOf: 4 ; CHECK: } -; CHECK: FieldList (0x100B) { -; CHECK: TypeLeafKind: LF_FIELDLIST (0x1203) -; CHECK: DataMember { -; CHECK: TypeLeafKind: LF_MEMBER (0x150D) -; CHECK: AccessSpecifier: Public (0x3) -; CHECK: Type: int (0x74) -; CHECK: FieldOffset: 0x0 -; CHECK: Name: s1 -; CHECK: } -; CHECK: } -; CHECK: Struct (0x100C) { -; CHECK: TypeLeafKind: LF_STRUCTURE (0x1505) -; CHECK: MemberCount: 1 -; CHECK: Properties [ (0x200) -; CHECK: HasUniqueName (0x200) -; CHECK: ] -; CHECK: FieldList: <field list> (0x100B) -; CHECK: DerivedFrom: 0x0 -; CHECK: VShape: 0x0 -; CHECK: SizeOf: 4 -; CHECK: Name: incomplete_struct -; CHECK: LinkageName: .?AUincomplete_struct@@ -; CHECK: } -; CHECK: StringId (0x100D) { -; CHECK: TypeLeafKind: LF_STRING_ID (0x1605) -; CHECK: Id: 0x0 -; CHECK: StringData: \t.cpp -; CHECK: } -; CHECK: UdtSourceLine (0x100E) { -; CHECK: TypeLeafKind: LF_UDT_SRC_LINE (0x1606) -; CHECK: UDT: incomplete_struct (0x100C) -; CHECK: SourceFile: \t.cpp (0x100D) -; CHECK: LineNumber: 4 -; CHECK: } -; CHECK: Modifier (0x100F) { +; +; CHECK: Modifier (0x100E) { ; CHECK: TypeLeafKind: LF_MODIFIER (0x1001) ; CHECK: ModifiedType: int (0x74) ; CHECK: Modifiers [ (0x3) @@ -158,12 +113,12 @@ ; CHECK: Volatile (0x2) ; CHECK: ] ; CHECK: } -; CHECK: Array (0x1010) { +; CHECK: Array (0x100F) { ; CHECK: TypeLeafKind: LF_ARRAY (0x1503) -; CHECK: ElementType: const volatile int (0x100F) +; CHECK: ElementType: const volatile int (0x100E) ; CHECK: IndexType: unsigned long (0x22) ; CHECK: SizeOf: 16 -; CHECK: Name: +; CHECK: Name: ; CHECK: } ; CHECK: ] |

