From 56cb214b38a70c0fc824ab096e500d78c72b44ef Mon Sep 17 00:00:00 2001 From: Matthias Klose Date: Thu, 15 Apr 2021 12:18:25 +0200 Subject: [PATCH] add test case for ignoring -flto=auto and -flto=jobserver as requested in https://reviews.llvm.org/D99501, test that the two new options are ignored. Reviewed By: tejohnson, fhahn Differential Revision: https://reviews.llvm.org/D100484 --- clang/test/Driver/clang_f_opts.c | 1 + 1 file changed, 1 insertion(+) diff --git a/clang/test/Driver/clang_f_opts.c b/clang/test/Driver/clang_f_opts.c index 3ea9410..9da9f5e 100644 --- a/clang/test/Driver/clang_f_opts.c +++ b/clang/test/Driver/clang_f_opts.c @@ -279,6 +279,7 @@ // RUN: -fno-delete-null-pointer-checks -fdelete-null-pointer-checks \ // RUN: -fno-inline-small-functions -finline-small-functions \ // RUN: -fno-fat-lto-objects -ffat-lto-objects \ +// RUN: -flto=auto -flto=jobserver \ // RUN: -fno-merge-constants -fmerge-constants \ // RUN: -fno-caller-saves -fcaller-saves \ // RUN: -fno-reorder-blocks -freorder-blocks \ -- 2.7.4