We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a37da1a commit 2d37722Copy full SHA for 2d37722
llvm/test/ThinLTO/X86/cache-emit-asm.ll
@@ -0,0 +1,15 @@
1
+;; This test runs thin LTO with cache only to look for memory errors, either
2
+;; as crashes or sanitizer errors. MCAsmStreamer has specific assumptions about
3
+;; the lifetime of the output stream that are easy to overlook (see #138194).
4
+
5
+; RUN: rm -rf %t.cache
6
+; RUN: opt -module-hash -module-summary -thinlto-bc %s -o %t1.bc
7
+; RUN: ld.lld --thinlto-cache-dir=%t.cache --lto-emit-asm %t1.bc
8
9
+target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
10
+target triple = "x86_64-unknown-linux-gnu"
11
12
+define void @globalfunc() {
13
+entry:
14
+ ret void
15
+}
0 commit comments