brintos

brintos / llvm-project-archived public Read only

0
0
Text · 488 B · 0ffaa09 Raw
28 lines · plain
1; runtime library implementations should be added to llvm.compiler.used2; RUN: llvm-as <%s >%t13; RUN: llvm-lto -o %t2 %t14; RUN: llvm-nm --no-sort %t2 | FileCheck %s -check-prefix=KEEP -check-prefix=LOSE5 6target triple = "x86_64-apple-darwin9"7 8; KEEP-LABEL: _puts9define void @puts() {10  ret void11}12 13; KEEP-LABEL: ___divti314define void @__divti3() {15  ret void16}17 18; KEEP-LABEL: _memset19define void @memset() {20  ret void21}22 23; LOSE-NOT: _myprintf24define void @myprintf() {25  ret void26}27 28