[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
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: afb4efd3bcc68ab95bf3c35183bedbdbf038356a
https://github.com/llvm/llvm-project/commit/afb4efd3bcc68ab95bf3c35183bedbdbf038356a
Author: Aiden Grossman <agrossman154 at yahoo.com>
Date: 2022-07-29 (Fri, 29 Jul 2022)
Changed paths:
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/unittests/Frontend/CompilerInvocationTest.cpp
Log Message:
-----------
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
mailing list