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:
George Rimar 2016-05-27 12:15:25 +00:00
parent 4672af6fec
commit 0976dc1b2a
1 changed files with 1 additions and 1 deletions

View File

@ -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);