Revert r354244 "[DAGCombiner] Eliminate dead stores to stack."
[llvm-complete.git] / test / MC / ELF / file.s
blobb19bda7c42ca8e27408481ed59256d3d4a20405e
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -t | FileCheck %s
3 // Test that the STT_FILE symbol precedes the other local symbols.
5 .file "foo"
6 foa:
8 // CHECK: Symbol {
9 // CHECK: Name: foo
10 // CHECK-NEXT: Value: 0x0
11 // CHECK-NEXT: Size: 0
12 // CHECK-NEXT: Binding: Local
13 // CHECK-NEXT: Type: File
14 // CHECK-NEXT: Other: 0
15 // CHECK-NEXT: Section: Absolute (0xFFF1)
16 // CHECK-NEXT: }
17 // CHECK-NEXT: Symbol {
18 // CHECK-NEXT: Name: foa
19 // CHECK-NEXT: Value: 0x0
20 // CHECK-NEXT: Size: 0
21 // CHECK-NEXT: Binding: Local
22 // CHECK-NEXT: Type: None
23 // CHECK-NEXT: Other: 0
24 // CHECK-NEXT: Section: .text
25 // CHECK-NEXT: }