Revert "[Driver] Support for compressed debug info on Fuchsia"
authorTom Weaver <Tom.Weaver@Sony.com>
Wed, 27 Apr 2022 11:29:04 +0000 (12:29 +0100)
committerTom Weaver <Tom.Weaver@Sony.com>
Wed, 27 Apr 2022 11:29:04 +0000 (12:29 +0100)
This reverts commit 19190cc651ef153c308d23fb56f064223b144488.

Causes test failures on following build bot:

http://lab.llvm.org:8011/#/builders/216

clang/lib/Driver/ToolChains/Fuchsia.cpp
clang/test/Driver/fuchsia.c

index 6fe6f7f..9e0b259 100644 (file)
@@ -127,7 +127,6 @@ void fuchsia::Linker::ConstructJob(Compilation &C, const JobAction &JA,
                   D.getLTOMode() == LTOK_Thin);
   }
 
-  addLinkerCompressDebugSectionsOption(ToolChain, Args, CmdArgs);
   AddLinkerInputs(ToolChain, Inputs, Args, CmdArgs, JA);
 
   if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs,
index 09bbf5d..888f6b1 100644 (file)
 // CHECK-THINLTO: "-plugin-opt=jobs=8"
 
 // RUN: %clang %s -### --target=x86_64-unknown-fuchsia \
-// RUN:     --sysroot=%S/platform \
-// RUN:     -Og -gz 2>&1 \
-// RUN:     | FileCheck %s -check-prefix=CHECK-GZ
-// CHECK-GZ: {{.*}}clang{{.*}}" "--compress-debug-sections=zlib"
-// CHECK-GZ: {{.*}}ld.lld{{.*}}" "--compress-debug-sections=zlib"
-
-// RUN: %clang %s -### --target=x86_64-unknown-fuchsia \
 // RUN:     -gsplit-dwarf -g -c %s 2>&1 \
 // RUN:     | FileCheck %s -check-prefix=CHECK-SPLIT-DWARF
 // CHECK-SPLIT-DWARF: "-split-dwarf-output" "fuchsia.dwo"