Skip to content

[LTO] Use llvm-lto2 instead of lld in the test #139928

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 14, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions llvm/test/ThinLTO/X86/cache-emit-asm.ll
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
;; as crashes or sanitizer errors. MCAsmStreamer has specific assumptions about
;; the lifetime of the output stream that are easy to overlook (see #138194).

; RUN: rm -rf %t.cache
; RUN: rm -rf %t && mkdir -p %t
; RUN: opt -module-hash -module-summary -thinlto-bc %s -o %t1.bc
; RUN: ld.lld --thinlto-cache-dir=%t.cache --lto-emit-asm %t1.bc
; RUN: llvm-lto2 run -cache-dir %t/cache --filetype=asm -o %t.o %t1.bc -r=%t1.bc,globalfunc

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