Author: Fangrui Song Date: 2021-10-08T14:40:22-07:00 New Revision: 3db1ade368e538ba795486eea4923e331a8dde5a
URL: https://github.com/llvm/llvm-project/commit/3db1ade368e538ba795486eea4923e331a8dde5a DIFF: https://github.com/llvm/llvm-project/commit/3db1ade368e538ba795486eea4923e331a8dde5a.diff LOG: [Driver][test] Fix undefined-libs.cpp when CLANG_DEFAULT_UNWINDLIB is libunwind 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: _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits