diff options
author | Fangrui Song <i@maskray.me> | 2021-10-08 14:40:22 -0700 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2022-01-18 13:43:10 -0800 |
commit | 1f1854ce0fe5a0fea3d5ae8d9dc95d376ed8588f (patch) | |
tree | 5c86c158579f2461afe219b379a5b126aaf7779c | |
parent | fc043d8a256b1e431aa1297dffba154a7dd46b25 (diff) | |
download | llvm-1f1854ce0fe5a0fea3d5ae8d9dc95d376ed8588f.tar.gz |
[Driver][test] Fix undefined-libs.cpp when CLANG_DEFAULT_UNWINDLIB is libunwind
(cherry picked from commit 3db1ade368e538ba795486eea4923e331a8dde5a)
-rw-r--r-- | clang/test/Driver/undefined-libs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Driver/undefined-libs.cpp b/clang/test/Driver/undefined-libs.cpp index f7bfba071b34..63f4bddfcc0f 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: |