remove debian/patches/D99501-ignore-lto-auto.diff as it is now applied upstream

This commit is contained in:
Sylvestre Ledru 2021-04-05 12:04:46 +02:00
commit 295c8ea5cd
3 changed files with 0 additions and 33 deletions

1
debian/changelog vendored
View File

@ -4,7 +4,6 @@ llvm-toolchain-snapshot (1:13~++20210403031832+89afec348dbd-1~exp1) UNRELEASED;
* New snapshot release
* "run-clang-tidy" install it
* Only enable libomp-13-doc on supported archs
* Cherry-pick https://reviews.llvm.org/D99501 to allow -flto=auto
* Verify that /proc is mounted. It makes some unexpected issues when
building from a chroot without /proc
* Fix the __config_site include issue

View File

@ -1,31 +0,0 @@
Index: llvm-toolchain-snapshot_13~++20210330090254+142d522dedbb/clang/include/clang/Driver/Driver.h
===================================================================
--- llvm-toolchain-snapshot_13~++20210330090254+142d522dedbb.orig/clang/include/clang/Driver/Driver.h
+++ llvm-toolchain-snapshot_13~++20210330090254+142d522dedbb/clang/include/clang/Driver/Driver.h
@@ -51,7 +51,8 @@ enum LTOKind {
LTOK_None,
LTOK_Full,
LTOK_Thin,
- LTOK_Unknown
+ LTOK_Unknown,
+ LTOK_Ignored
};
/// Driver - Encapsulate logic for constructing compilation processes
Index: llvm-toolchain-snapshot_13~++20210330090254+142d522dedbb/clang/lib/Driver/Driver.cpp
===================================================================
--- llvm-toolchain-snapshot_13~++20210330090254+142d522dedbb.orig/clang/lib/Driver/Driver.cpp
+++ llvm-toolchain-snapshot_13~++20210330090254+142d522dedbb/clang/lib/Driver/Driver.cpp
@@ -610,9 +610,12 @@ void Driver::setLTOMode(const llvm::opt:
LTOMode = llvm::StringSwitch<LTOKind>(LTOName)
.Case("full", LTOK_Full)
.Case("thin", LTOK_Thin)
+ .Case("auto", LTOK_Ignored)
+ .Case("jobserver", LTOK_Ignored)
.Default(LTOK_Unknown);
if (LTOMode == LTOK_Unknown) {
+ // FIXME: check if argument is a number, then ignore, or handle it
assert(A);
Diag(diag::err_drv_unsupported_option_argument) << A->getOption().getName()
<< A->getValue();

View File

@ -145,5 +145,4 @@ print-lldb-path.patch
libcxx-armhf-ftbfs.diff
lld-use-link-atomic-i386.diff
lower-python-dep.diff
D99501-ignore-lto-auto.diff
revert-D95727-causes-49818.diff