[clang] f1ec45a - [Driver] Use empty multilib file in another test (#111352)

via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 7 04:33:10 PDT 2024


Author: Oliver Stannard
Date: 2024-10-07T12:33:06+01:00
New Revision: f1ec45a0b0b14d9eb41d32be98f1437b8d1d322d

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

LOG: [Driver] Use empty multilib file in another test (#111352)

This makes the test independent of the one provided by a toolchain clang
is built into, which can cause the output of
-print-multi-flags-experimental to change.

Added: 
    

Modified: 
    clang/test/Driver/aarch64-multilib-rcpc3.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/aarch64-multilib-rcpc3.c b/clang/test/Driver/aarch64-multilib-rcpc3.c
index 88b23de5a65109..5146ec15458fc9 100644
--- a/clang/test/Driver/aarch64-multilib-rcpc3.c
+++ b/clang/test/Driver/aarch64-multilib-rcpc3.c
@@ -1,4 +1,4 @@
-// RUN: %clang --target=aarch64-none-elf -march=armv8.9-a+rcpc3 -print-multi-flags-experimental -c %s 2>&1 | FileCheck %s
+// RUN: %clang --target=aarch64-none-elf -march=armv8.9-a+rcpc3 -print-multi-flags-experimental -multi-lib-config=%S/Inputs/multilib/empty.yaml -c %s 2>&1 | FileCheck %s
 
 // The purpose of this regression test is to make sure that when
 // compile options are converted into multilib selection flags, no


        


More information about the cfe-commits mailing list