Open
Description
Hello there,
The commit 51313bc authored by @compnerd in 2018 introduced errors when using -fembed-bitcode
with a set of flags.
I can understand why we should prevent using some of these flags with the embedded bitcode but
I don't understand why in some cases we prevent a flag and its negation:
For instance:
# Error
$ clang -fembed-bitcode -ffunction-sections
# Error
$ clang -fembed-bitcode -fno-function-sections
# Ok
$ clang -fembed-bitcode
Shouldn't we relax the conditions on the -fno-
flags?