1; REQUIRES: x86 2; RUN: llvm-as %s -o %t.o 3; RUN: ld.lld %t.o -o %t2 4; RUN: llvm-readobj --symbols %t2 | FileCheck %s 5 6; CHECK: Format: elf64-x86-64 7; CHECK-NEXT: Arch: x86_64 8; CHECK-NEXT: AddressSize: 64bit 9 10; CHECK: Name: _start 11; CHECK-NEXT: Value: 12; CHECK-NEXT: Size: 1 13; CHECK-NEXT: Binding: Global 14; CHECK-NEXT: Type: Function 15; CHECK-NEXT: Other: 16; CHECK-NEXT: Section: .text 17 18target triple = "x86_64-unknown-linux-gnu" 19target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" 20 21define void @_start() { 22 ret void 23} 24