Skip to content

Commit

Permalink
Revert "[Driver] Support for compressed debug info on Fuchsia"
Browse files Browse the repository at this point in the history
This reverts commit 2d0c897 which
is still breaking on the sanitizer bots.
  • Loading branch information
petrhosek committed Apr 27, 2022
1 parent e617d1a commit 82aa5e2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion clang/lib/Driver/ToolChains/Fuchsia.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
9 changes: 0 additions & 9 deletions clang/test/Driver/fuchsia.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,15 +253,6 @@
// CHECK-THINLTO: "-plugin-opt=thinlto"
// 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
Expand Down

0 comments on commit 82aa5e2

Please sign in to comment.