diff options
Diffstat (limited to 'test/MC/X86/large-bss.s')
-rw-r--r-- | test/MC/X86/large-bss.s | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/MC/X86/large-bss.s b/test/MC/X86/large-bss.s new file mode 100644 index 000000000000..edb111e9092a --- /dev/null +++ b/test/MC/X86/large-bss.s @@ -0,0 +1,14 @@ +// RUN: llvm-mc -triple x86_64-pc-linux -filetype=obj %s -o - | llvm-readobj -s | FileCheck %s + +.bss +.zero 0x10000000000000 + +// CHECK: Name: .bss +// CHECK-NEXT: Type: SHT_NOBITS +// CHECK-NEXT: Flags [ +// CHECK-NEXT: SHF_ALLOC +// CHECK-NEXT: SHF_WRITE +// CHECK-NEXT: ] +// CHECK-NEXT: Address: 0x0 +// CHECK-NEXT: Offset: 0x40 +// CHECK-NEXT: Size: 4503599627370496 |