forked from OSchip/llvm-project
Update for following LLVM commit.
It will be: Recommit 270977 - [llvm-mc] - Teach llvm-mc to generate zlib styled compression sections. llvm-svn: 270985
This commit is contained in:
parent
4672af6fec
commit
0976dc1b2a
|
@ -313,7 +313,7 @@ static bool ExecuteAssembler(AssemblerInvocation &Opts,
|
|||
// Ensure MCAsmInfo initialization occurs before any use, otherwise sections
|
||||
// may be created with a combination of default and explicit settings.
|
||||
if (Opts.CompressDebugSections)
|
||||
MAI->setCompressDebugSections(true);
|
||||
MAI->setCompressDebugSections(DebugCompressionType::DCT_ZlibGnu);
|
||||
|
||||
bool IsBinary = Opts.OutputType == AssemblerInvocation::FT_Obj;
|
||||
std::unique_ptr<raw_fd_ostream> FDOS = getOutputStream(Opts, Diags, IsBinary);
|
||||
|
|
Loading…
Reference in New Issue