[all-commits] [llvm/llvm-project] afb4ef: Fix lack of cc1 flag in llvmcmd sections when asse...
Aiden Grossman via All-commits
all-commits at lists.llvm.org
Fri Jul 29 18:52:09 PDT 2022
Author: Aiden Grossman <agrossman154 at yahoo.com>
Date: 2022-07-29 (Fri, 29 Jul 2022)
Fix lack of cc1 flag in llvmcmd sections when assertions are enabled
Currently when assertions are enabled, the cc1 flag is not
inserted into the llvmcmd section of object files with embedded
bitcode. This deviates from the normal behavior where this is
the first flag that is inserted. This error stems from incorrect
use of the function generateCC1CommandLine() which requires
manually adding in the -cc1 flag which is currently not done.
Reviewed By: jansvoboda11
Differential Revision: https://reviews.llvm.org/D130620
More information about the All-commits