HomeFreeBSD

Remove -simplifycfg-dup-ret from CLANG_OPT_SMALL flags for clang 13

Description

Remove -simplifycfg-dup-ret from CLANG_OPT_SMALL flags for clang 13

After llvm/clang 13.0.0, the -simplifycfg-dup-ret backend flag is no
longer supported. This was part of CLANG_OPT_SMALL, which is only still
used for stand/i386/boot2 and stand/i386/isoboot, to achieve the very
small binary size required. Luckily clang 13.0.0 does not need any
additional flags for this (I get 240 bytes available when building
boot2).

(cherry picked from commit 22b8ab15c41a9efac201691b40e961b83698aa9c)

Details

Provenance
dimAuthored on Aug 29 2021, 1:39 PM
Parents
rG461cfd4192d2: Fix acpica macros that subtract null pointers
Branches
Unknown
Tags
Unknown