brintos

brintos / llvm-project-archived public Read only

0
0
Text · 607 B · 0d4827a Raw
23 lines · plain
1; REQUIRES: x862; RUN: llvm-mc %p/Inputs/undef-mixed.s -o %t.o -filetype=obj -triple=x86_64-pc-linux3; RUN: llvm-as %s -o %t2.o4; RUN: ld.lld %t2.o %t.o -o %t.so -shared5; RUN: llvm-readobj --symbols %t.so | FileCheck %s6 7; CHECK:      Name: bar8; CHECK-NEXT: Value:9; CHECK-NEXT: Size: 010; CHECK-NEXT: Binding: Global11; CHECK-NEXT: Type: None12; CHECK-NEXT: Other: 013; CHECK-NEXT: Section: .text14 15target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"16target triple = "x86_64-unknown-linux-gnu"17 18declare void @bar()19define void @foo() {20  call void @bar()21  ret void22}23