Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6049db0

Browse filesBrowse files
[LTO] Use llvm-lto2 instead of lld in the test (#139928)
This is a follow-up to #138203. The added test used lld but lld is not always available, which breaks builds. Make the test use llvm-lto2. Also make the test a bit more similar to other tests in the same directory.
1 parent cf552a1 commit 6049db0
Copy full SHA for 6049db0

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎llvm/test/ThinLTO/X86/cache-emit-asm.ll

Copy file name to clipboardExpand all lines: llvm/test/ThinLTO/X86/cache-emit-asm.ll
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
;; as crashes or sanitizer errors. MCAsmStreamer has specific assumptions about
33
;; the lifetime of the output stream that are easy to overlook (see #138194).
44

5-
; RUN: rm -rf %t.cache
5+
; RUN: rm -rf %t && mkdir -p %t
66
; 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
7+
; RUN: llvm-lto2 run -cache-dir %t/cache --filetype=asm -o %t.o %t1.bc -r=%t1.bc,globalfunc
88

99
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
1010
target triple = "x86_64-unknown-linux-gnu"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.