[ELF] Follow-up to r264300. Update test case expectations to reflect recent changes in llvm-readobj. NFC.

llvm-svn: 264304
This commit is contained in:
Simon Atanasyan 2016-03-24 16:30:20 +00:00
parent a5e25a5563
commit 628fe404f7
13 changed files with 63 additions and 22 deletions

View File

@ -66,7 +66,9 @@ foo:
// READ-NEXT: Size: 0
// READ-NEXT: Binding: Local
// READ-NEXT: Type: None
// READ-NEXT: Other: 2
// READ-NEXT: Other [ (0x2)
// READ-NEXT: STV_HIDDEN
// READ-NEXT: ]
// READ-NEXT: Section: .dynamic
// READ-NEXT: }
// READ-NEXT: Symbol {

View File

@ -27,7 +27,9 @@
// CHECK-NEXT: Size: 0
// CHECK-NEXT: Binding: Local
// CHECK-NEXT: Type: None
// CHECK-NEXT: Other: 2
// CHECK-NEXT: Other [ (0x2)
// CHECK-NEXT: STV_HIDDEN
// CHECK-NEXT: ]
// CHECK-NEXT: Section: .dynamic
// CHECK-NEXT: }
// CHECK-NEXT: ]

View File

@ -19,7 +19,9 @@
// CHECK-NEXT: Size: 0
// CHECK-NEXT: Binding: Local
// CHECK-NEXT: Type: None
// CHECK-NEXT: Other: 2
// CHECK-NEXT: Other [ (0x2)
// CHECK-NEXT: STV_HIDDEN
// CHECK-NEXT: ]
// CHECK-NEXT: Section: .dynamic
// CHECK-NEXT: }
// CHECK-NEXT: ]

View File

@ -28,7 +28,9 @@
# CHECK-NEXT: Size: 0
# CHECK-NEXT: Binding: Local
# CHECK-NEXT: Type: None
# CHECK-NEXT: Other: 2
# CHECK-NEXT: Other [ (0x2)
# CHECK-NEXT: STV_HIDDEN
# CHECK-NEXT: ]
# CHECK-NEXT: Section: .dynamic
# CHECK-NEXT: }

View File

@ -40,7 +40,9 @@ zed:
// CHECK-NEXT: Size: 0
// CHECK-NEXT: Binding: Local
// CHECK-NEXT: Type: None
// CHECK-NEXT: Other: 2
// CHECK-NEXT: Other [ (0x2)
// CHECK-NEXT: STV_HIDDEN
// CHECK-NEXT: ]
// CHECK-NEXT: Section: .dynamic
// CHECK-NEXT: }
// CHECK-NEXT: Symbol {

View File

@ -47,7 +47,9 @@
// CHECK-NEXT: Size: 0
// CHECK-NEXT: Binding: Local
// CHECK-NEXT: Type: None
// CHECK-NEXT: Other: 2
// CHECK-NEXT: Other [ (0x2)
// CHECK-NEXT: STV_HIDDEN
// CHECK-NEXT: ]
// CHECK-NEXT: Section: .dynamic
// CHECK-NEXT: }
// CHECK-NEXT: Symbol {

View File

@ -9,7 +9,9 @@
; CHECK-NEXT: Size: 0
; CHECK-NEXT: Binding: Local
; CHECK-NEXT: Type: None
; CHECK-NEXT: Other: 2
; CHECK-NEXT: Other [ (0x2)
; CHECK-NEXT: STV_HIDDEN
; CHECK-NEXT: ]
; CHECK-NEXT: Section: .text
; CHECK: Name: a
@ -17,7 +19,9 @@
; CHECK-NEXT: Size: 0
; CHECK-NEXT: Binding: Local
; CHECK-NEXT: Type: None
; CHECK-NEXT: Other: 2
; CHECK-NEXT: Other [ (0x2)
; CHECK-NEXT: STV_HIDDEN
; CHECK-NEXT: ]
; CHECK-NEXT: Section: .data
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"

View File

@ -61,7 +61,9 @@ zed:
// CHECK-NEXT: Size: 0
// CHECK-NEXT: Binding: Local
// CHECK-NEXT: Type: None
// CHECK-NEXT: Other: 2
// CHECK-NEXT: Other [ (0x2)
// CHECK-NEXT: STV_HIDDEN
// CHECK-NEXT: ]
// CHECK-NEXT: Section: .mysec
// CHECK: ]

View File

@ -24,8 +24,9 @@
# CHECK-NEXT: Size: 0
# CHECK-NEXT: Binding: Global
# CHECK-NEXT: Type: Function
# CHECK-NEXT: Other: 8
# ^-- STO_MIPS_PLT
# CHECK-NEXT: Other [ (0x8)
# CHECK-NEXT: STO_MIPS_PLT
# CHECK-NEXT: ]
# CHECK-NEXT: Section: Undefined
# CHECK-NEXT: }

View File

@ -29,7 +29,9 @@
// CHECK-NEXT: Size: 0
// CHECK-NEXT: Binding: Local
// CHECK-NEXT: Type: None
// CHECK-NEXT: Other: 2
// CHECK-NEXT: Other [ (0x2)
// CHECK-NEXT: STV_HIDDEN
// CHECK-NEXT: ]
// CHECK-NEXT: Section: .dynamic
// CHECK-NEXT: }
// CHECK-NEXT: ]

View File

@ -149,7 +149,9 @@
// CHECK-NEXT: Size: 0
// CHECK-NEXT: Binding: Local
// CHECK-NEXT: Type: None
// CHECK-NEXT: Other: 2
// CHECK-NEXT: Other [ (0x2)
// CHECK-NEXT: STV_HIDDEN
// CHECK-NEXT: ]
// CHECK-NEXT: Section: .dynamic
// CHECK-NEXT: }
// CHECK-NEXT: Symbol {

View File

@ -86,7 +86,9 @@ internal:
// CHECK-NEXT: Size: 0
// CHECK-NEXT: Binding: Local
// CHECK-NEXT: Type: None
// CHECK-NEXT: Other: 2
// CHECK-NEXT: Other [ (0x2)
// CHECK-NEXT: STV_HIDDEN
// CHECK-NEXT: ]
// CHECK-NEXT: Section: foobar
// CHECK-NEXT: }
// CHECK-NEXT: Symbol {
@ -95,7 +97,9 @@ internal:
// CHECK-NEXT: Size: 0
// CHECK-NEXT: Binding: Local
// CHECK-NEXT: Type: None
// CHECK-NEXT: Other: 1
// CHECK-NEXT: Other [ (0x1)
// CHECK-NEXT: STV_INTERNAL
// CHECK-NEXT: ]
// CHECK-NEXT: Section: foobar
// CHECK-NEXT: }
// CHECK-NEXT: Symbol {
@ -149,7 +153,9 @@ internal:
// CHECK-NEXT: Size: 0
// CHECK-NEXT: Binding: Global
// CHECK-NEXT: Type: None
// CHECK-NEXT: Other: 3
// CHECK-NEXT: Other [ (0x3)
// CHECK-NEXT: STV_PROTECTED
// CHECK-NEXT: ]
// CHECK-NEXT: Section: foobar
// CHECK-NEXT: }
// CHECK-NEXT: Symbol {

View File

@ -20,7 +20,9 @@
// CHECK-NEXT: Size: 0
// CHECK-NEXT: Binding: Local
// CHECK-NEXT: Type: None
// CHECK-NEXT: Other: 2
// CHECK-NEXT: Other [ (0x2)
// CHECK-NEXT: STV_HIDDEN
// CHECK-NEXT: ]
// CHECK-NEXT: Section: .text
// CHECK-NEXT: }
// CHECK-NEXT: Symbol {
@ -29,7 +31,9 @@
// CHECK-NEXT: Size: 0
// CHECK-NEXT: Binding: Local
// CHECK-NEXT: Type: None
// CHECK-NEXT: Other: 1
// CHECK-NEXT: Other [ (0x1)
// CHECK-NEXT: STV_INTERNAL
// CHECK-NEXT: ]
// CHECK-NEXT: Section: .text
// CHECK-NEXT: }
// CHECK-NEXT: Symbol {
@ -38,7 +42,9 @@
// CHECK-NEXT: Size: 0
// CHECK-NEXT: Binding: Local
// CHECK-NEXT: Type: None
// CHECK-NEXT: Other: 2
// CHECK-NEXT: Other [ (0x2)
// CHECK-NEXT: STV_HIDDEN
// CHECK-NEXT: ]
// CHECK-NEXT: Section: .text
// CHECK-NEXT: }
// CHECK-NEXT: Symbol {
@ -47,7 +53,9 @@
// CHECK-NEXT: Size: 0
// CHECK-NEXT: Binding: Local
// CHECK-NEXT: Type: None
// CHECK-NEXT: Other: 2
// CHECK-NEXT: Other [ (0x2)
// CHECK-NEXT: STV_HIDDEN
// CHECK-NEXT: ]
// CHECK-NEXT: Section: .dynamic
// CHECK-NEXT: }
// CHECK-NEXT: Symbol {
@ -65,7 +73,9 @@
// CHECK-NEXT: Size: 0
// CHECK-NEXT: Binding: Global
// CHECK-NEXT: Type: None
// CHECK-NEXT: Other: 3
// CHECK-NEXT: Other [ (0x3)
// CHECK-NEXT: STV_PROTECTED
// CHECK-NEXT: ]
// CHECK-NEXT: Section: .text
// CHECK-NEXT: }
// CHECK-NEXT: ]
@ -95,7 +105,9 @@
// CHECK-NEXT: Size: 0
// CHECK-NEXT: Binding: Global
// CHECK-NEXT: Type: None
// CHECK-NEXT: Other: 3
// CHECK-NEXT: Other [ (0x3)
// CHECK-NEXT: STV_PROTECTED
// CHECK-NEXT: ]
// CHECK-NEXT: Section: .text
// CHECK-NEXT: }
// CHECK-NEXT: ]