summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/linux/compressed-debug-info/TestCompressedDebugInfo.py
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2018-05-12 01:25:48 +0000
committerDavide Italiano <davide@freebsd.org>2018-05-12 01:25:48 +0000
commit1e6a01fc87164fbcb6d73187ea9e3bd212f2df45 (patch)
tree314b3e7a5a45da0e190585369c960605d99c3a57 /lldb/packages/Python/lldbsuite/test/linux/compressed-debug-info/TestCompressedDebugInfo.py
parenta9d689629e62e207cf36c6701e8ad7193440adf3 (diff)
downloadbcm5719-llvm-1e6a01fc87164fbcb6d73187ea9e3bd212f2df45.tar.gz
bcm5719-llvm-1e6a01fc87164fbcb6d73187ea9e3bd212f2df45.zip
Revert "[LLDB] Support GNU-style compressed debug sections (.zdebug)"
This reverts commit r332162 as it breaks the bots (Ubuntu 14.04) with the following message: Build Command Output: objcopy: option '--compress-debug-sections' doesn't allow an argument llvm-svn: 332165
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/linux/compressed-debug-info/TestCompressedDebugInfo.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/linux/compressed-debug-info/TestCompressedDebugInfo.py46
1 files changed, 0 insertions, 46 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/linux/compressed-debug-info/TestCompressedDebugInfo.py b/lldb/packages/Python/lldbsuite/test/linux/compressed-debug-info/TestCompressedDebugInfo.py
deleted file mode 100644
index f82a2e290a2..00000000000
--- a/lldb/packages/Python/lldbsuite/test/linux/compressed-debug-info/TestCompressedDebugInfo.py
+++ /dev/null
@@ -1,46 +0,0 @@
-""" Tests that compressed debug info sections are used. """
-import os
-import lldb
-import sys
-from lldbsuite.test.decorators import *
-from lldbsuite.test.lldbtest import *
-from lldbsuite.test import lldbutil
-
-
-class TestCompressedDebugInfo(TestBase):
- mydir = TestBase.compute_mydir(__file__)
-
- def setUp(self):
- TestBase.setUp(self)
-
- @no_debug_info_test # Prevent the genaration of the dwarf version of this test
- @skipUnlessPlatform(["linux"])
- def test_compressed_debug_info(self):
- """Tests that the 'frame variable' works with compressed debug info."""
-
- self.build()
- process = lldbutil.run_to_source_breakpoint(
- self, "main", lldb.SBFileSpec("a.c"), exe_name="compressed.out")[1]
-
- # The process should be stopped at a breakpoint, and the z variable should
- # be in the top frame.
- self.assertTrue(process.GetState() == lldb.eStateStopped,
- STOPPED_DUE_TO_BREAKPOINT)
- frame = process.GetThreadAtIndex(0).GetFrameAtIndex(0)
- self.assertTrue(frame.FindVariable("z").IsValid(), "z is not valid")
-
- @no_debug_info_test # Prevent the genaration of the dwarf version of this test
- @skipUnlessPlatform(["linux"])
- def test_compressed_debug_info_gnu(self):
- """Tests that the 'frame variable' works with gnu-style compressed debug info."""
-
- self.build()
- process = lldbutil.run_to_source_breakpoint(
- self, "main", lldb.SBFileSpec("a.c"), exe_name="compressed.gnu.out")[1]
-
- # The process should be stopped at a breakpoint, and the z variable should
- # be in the top frame.
- self.assertTrue(process.GetState() == lldb.eStateStopped,
- STOPPED_DUE_TO_BREAKPOINT)
- frame = process.GetThreadAtIndex(0).GetFrameAtIndex(0)
- self.assertTrue(frame.FindVariable("z").IsValid(), "z is not valid")
OpenPOWER on IntegriCloud