From: Petr Hosek Date: Wed, 27 Apr 2022 18:41:41 +0000 (-0700) Subject: Revert "[Driver] Support for compressed debug info on Fuchsia" X-Git-Tag: upstream/15.0.7~9245 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=82aa5e2c6fe9ffbd637d421a799deffa0d90d7bf;p=platform%2Fupstream%2Fllvm.git Revert "[Driver] Support for compressed debug info on Fuchsia" This reverts commit 2d0c897212d0551966b26eae986209ea31c4f032 which is still breaking on the sanitizer bots. --- diff --git a/clang/lib/Driver/ToolChains/Fuchsia.cpp b/clang/lib/Driver/ToolChains/Fuchsia.cpp index 6fe6f7f..9e0b259 100644 --- a/clang/lib/Driver/ToolChains/Fuchsia.cpp +++ b/clang/lib/Driver/ToolChains/Fuchsia.cpp @@ -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, diff --git a/clang/test/Driver/fuchsia.c b/clang/test/Driver/fuchsia.c index 07bb12b..888f6b1 100644 --- a/clang/test/Driver/fuchsia.c +++ b/clang/test/Driver/fuchsia.c @@ -254,15 +254,6 @@ // 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{{[^"]*}}" -// CHECK-GZ: "--compress-debug-sections=zlib" -// CHECK-GZ: "{{[^"]*}}ld.lld{{[^"]*}}" -// CHECK-GZ: "--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"