[clang] 56cb214 - add test case for ignoring -flto=auto and -flto=jobserver
Sylvestre Ledru via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 15 03:20:02 PDT 2021
Author: Matthias Klose
Date: 2021-04-15T12:19:14+02:00
New Revision: 56cb214b38a70c0fc824ab096e500d78c72b44ef
URL: https://github.com/llvm/llvm-project/commit/56cb214b38a70c0fc824ab096e500d78c72b44ef
DIFF: https://github.com/llvm/llvm-project/commit/56cb214b38a70c0fc824ab096e500d78c72b44ef.diff
LOG: 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
Added:
Modified:
clang/test/Driver/clang_f_opts.c
Removed:
################################################################################
diff --git a/clang/test/Driver/clang_f_opts.c b/clang/test/Driver/clang_f_opts.c
index 3ea9410adbead..9da9f5eac6324 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 \
More information about the cfe-commits
mailing list