aboutsummaryrefslogtreecommitdiff
path: root/test/MC/ELF/size.s
blob: ceb9486c302033258752019c809ef772ece1d5d0 (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump  | FileCheck %s

// Mostly a test that this doesn't crash anymore.

// CHECK:        # Symbol 0x00000004
// CHECK-NEXT:    (('st_name', 0x00000001) # 'foo'
// CHECK-NEXT:     ('st_bind', 0x00000001)

	.size foo, .Lbar-foo
        .long foo