[llvm-branch-commits] [clang] 1f1854c - [Driver][test] Fix undefined-libs.cpp when CLANG_DEFAULT_UNWINDLIB is libunwind
Tom Stellard via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jan 18 13:43:26 PST 2022
Author: Fangrui Song
Date: 2022-01-18T13:43:10-08:00
New Revision: 1f1854ce0fe5a0fea3d5ae8d9dc95d376ed8588f
URL: https://github.com/llvm/llvm-project/commit/1f1854ce0fe5a0fea3d5ae8d9dc95d376ed8588f
DIFF: https://github.com/llvm/llvm-project/commit/1f1854ce0fe5a0fea3d5ae8d9dc95d376ed8588f.diff
LOG: [Driver][test] Fix undefined-libs.cpp when CLANG_DEFAULT_UNWINDLIB is libunwind
(cherry picked from commit 3db1ade368e538ba795486eea4923e331a8dde5a)
Added:
Modified:
clang/test/Driver/undefined-libs.cpp
Removed:
################################################################################
diff --git a/clang/test/Driver/undefined-libs.cpp b/clang/test/Driver/undefined-libs.cpp
index f7bfba071b340..63f4bddfcc0f4 100644
--- a/clang/test/Driver/undefined-libs.cpp
+++ b/clang/test/Driver/undefined-libs.cpp
@@ -5,7 +5,7 @@
// STDLIB: error: invalid library name in argument '-stdlib=nostdlib'
// STDLIB-EMPTY:
-// RUN: not %clangxx --target=i386-unknown-linux -rtlib=nortlib %s 2>&1 | FileCheck --check-prefix=RTLIB %s
+// RUN: not %clangxx --target=i386-unknown-linux -rtlib=nortlib --unwindlib=libgcc %s 2>&1 | FileCheck --check-prefix=RTLIB %s
// RTLIB: error: invalid runtime library name in argument '-rtlib=nortlib'
// RTLIB-EMPTY:
More information about the llvm-branch-commits
mailing list