brintos

brintos / llvm-project-archived public Read only

0
0
Text · 511 B · 9895e08 Raw
22 lines · plain
1; REQUIRES: x862; RUN: llvm-as %s -o %t.o3; RUN: ld.lld %t.o %t.o -o %t.so -shared4; RUN: llvm-readobj --symbols %t.so | FileCheck %s5 6; CHECK:      Name: foo7; CHECK-NEXT: Value:8; CHECK-NEXT: Size: 19; CHECK-NEXT: Binding: Global10; CHECK-NEXT: Type: Function11; CHECK-NEXT: Other: 012; CHECK-NEXT: Section: .text13 14target triple = "x86_64-unknown-linux-gnu"15target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"16 17$foo = comdat any18define void @foo() comdat {19  ret void20}21 22