]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: avoid compressed dwarf when testing for gdb on OSX
authorDavid Chase <drchase@google.com>
Wed, 18 Jul 2018 15:23:56 +0000 (11:23 -0400)
committerDavid Chase <drchase@google.com>
Thu, 19 Jul 2018 13:58:32 +0000 (13:58 +0000)
commit2fe2aa0983588686d11fbeedeb5acaa3fe96d03e
tree44d60c6901e61e7c27cd879bd105f5a8bb312a00
parentd278f09333edec3db982d1e4b4dfad0e1e8cce49
cmd/compile: avoid compressed dwarf when testing for gdb on OSX

Until we figure out how to deal with gdb on Darwin (doesn't
read compressed DWARF from binaries), avoid compressing
DWARF in that case so that the test will still yield meaningful
results.

This is also reported to be a problem for Windows.

Problem also exists for lldb, but this test doesn't check
lldb.

Updates #25925

Change-Id: I85c0e5db75f3329957290500626a3ac7f078f608
Reviewed-on: https://go-review.googlesource.com/124712
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
src/cmd/compile/internal/ssa/debug_test.go