]> granicus.if.org Git - clang/commitdiff
Update for following LLVM commit.
authorGeorge Rimar <grimar@accesssoftek.com>
Fri, 27 May 2016 12:15:25 +0000 (12:15 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Fri, 27 May 2016 12:15:25 +0000 (12:15 +0000)
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

tools/driver/cc1as_main.cpp

index 3ed1acd73b5e5e33f6f17ca9a2fbe5fa9af89a43..60ef7c9664042a8b2f86cc2aa3eee1affc7e983d 100644 (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);