brintos

brintos / llvm-project-archived public Read only

0
0
Text · 578 B · b6e5ca2 Raw
16 lines · plain
1;; This test runs thin LTO with cache only to look for memory errors, either2;; as crashes or sanitizer errors. MCAsmStreamer has specific assumptions about3;; the lifetime of the output stream that are easy to overlook (see #138194).4 5; RUN: rm -rf %t && mkdir -p %t6; RUN: opt -module-hash -module-summary -thinlto-bc %s -o %t1.bc7; RUN: llvm-lto2 run -cache-dir %t/cache --filetype=asm -o %t.o %t1.bc -r=%t1.bc,globalfunc8 9target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"10target triple = "x86_64-unknown-linux-gnu"11 12define void @globalfunc() {13entry:14  ret void15}16