From: George Rimar Date: Fri, 27 May 2016 12:15:25 +0000 (+0000) Subject: Update for following LLVM commit. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2123f612acc1f5f6b8613fb3bbb16fb2b82e2e55;p=clang Update for following LLVM commit. It will be: Recommit 270977 - [llvm-mc] - Teach llvm-mc to generate zlib styled compression sections. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@270985 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/driver/cc1as_main.cpp b/tools/driver/cc1as_main.cpp index 3ed1acd73b..60ef7c9664 100644 --- a/tools/driver/cc1as_main.cpp +++ b/tools/driver/cc1as_main.cpp @@ -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 FDOS = getOutputStream(Opts, Diags, IsBinary);