[clang] 533a229 - [clang][test] Write temporary files to %t

Dmitri Gribenko via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 30 01:28:04 PDT 2024


Author: Dmitri Gribenko
Date: 2024-07-30T10:26:31+02:00
New Revision: 533a22941e9acee1460fbd054fbfa57b82d660e5

URL: https://github.com/llvm/llvm-project/commit/533a22941e9acee1460fbd054fbfa57b82d660e5
DIFF: https://github.com/llvm/llvm-project/commit/533a22941e9acee1460fbd054fbfa57b82d660e5.diff

LOG: [clang][test] Write temporary files to %t

The issue was introduced in
https://github.com/llvm/llvm-project/commit/3a9ef4e69a3fec3203bd3e1caa53edf4b76843cf.

Added: 
    

Modified: 
    clang/test/CodeGenCoroutines/coro-elide-thinlto.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGenCoroutines/coro-elide-thinlto.cpp b/clang/test/CodeGenCoroutines/coro-elide-thinlto.cpp
index 77a4dc3ad4257..54063cf0704aa 100644
--- a/clang/test/CodeGenCoroutines/coro-elide-thinlto.cpp
+++ b/clang/test/CodeGenCoroutines/coro-elide-thinlto.cpp
@@ -3,10 +3,10 @@
 // This test is adapted from coro-elide.cpp and splits functions into two files.
 //
 // RUN: split-file %s %t
-// RUN: %clang --target=x86_64-linux -std=c++20 -O2 -flto=thin -I %S -c %t/coro-elide-callee.cpp -o coro-elide-callee.bc
-// RUN: %clang --target=x86_64-linux -std=c++20 -O2 -flto=thin -I %S -c %t/coro-elide-caller.cpp -o coro-elide-caller.bc
-// RUN: llvm-lto --thinlto coro-elide-callee.bc coro-elide-caller.bc -o summary
-// RUN: %clang_cc1 -O2 -x ir coro-elide-caller.bc -fthinlto-index=summary.thinlto.bc -emit-llvm -o - | FileCheck %s
+// RUN: %clang --target=x86_64-linux -std=c++20 -O2 -flto=thin -I %S -c %t/coro-elide-callee.cpp -o %t/coro-elide-callee.bc
+// RUN: %clang --target=x86_64-linux -std=c++20 -O2 -flto=thin -I %S -c %t/coro-elide-caller.cpp -o %t/coro-elide-caller.bc
+// RUN: llvm-lto --thinlto %t/coro-elide-callee.bc %t/coro-elide-caller.bc -o %t/summary
+// RUN: %clang_cc1 -O2 -x ir %t/coro-elide-caller.bc -fthinlto-index=%t/summary.thinlto.bc -emit-llvm -o - | FileCheck %s
 
 //--- coro-elide-task.h
 #pragma once


        


More information about the cfe-commits mailing list