summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2016-05-19 15:58:05 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2016-05-19 15:58:05 +0000
commitcf2bf9d0153cc866db59cca95ae7d03944f8c170 (patch)
tree6170d434cb7e4970acbeee4b91e20d9fb591b38b /llvm/test
parent46f249b4cd565b4844bf769de94a4106997ac4e2 (diff)
downloadbcm5719-llvm-cf2bf9d0153cc866db59cca95ae7d03944f8c170.tar.gz
bcm5719-llvm-cf2bf9d0153cc866db59cca95ae7d03944f8c170.zip
Temporarily revert r270070
It broke buildbot: http://lab.llvm.org:8011/builders/clang-s390x-linux/builds/4817/steps/ninja%20check%201/logs/stdio Actually it is just because D20273 not yet commited, but these 2 were crossing with each other, and I`ll better find the way to land them separatelly soon. Initial commit message: [llvm-mc] - Teach llvm-mc to generate compressed debug sections in zlib style. Before this patch llvm-mc generated zlib-gnu styled sections. That means no SHF_COMPRESSED flag was set, magic 'zlib' signature was used in combination with full size field. Sections were renamed to "*.z*". This patch reimplements the compression style to zlib one as zlib-gnu looks to be depricated everywhere. Differential revision: http://reviews.llvm.org/D20331 llvm-svn: 270075
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/MC/ELF/compression.s16
1 files changed, 5 insertions, 11 deletions
diff --git a/llvm/test/MC/ELF/compression.s b/llvm/test/MC/ELF/compression.s
index edee6f878f0..5560ba78c68 100644
--- a/llvm/test/MC/ELF/compression.s
+++ b/llvm/test/MC/ELF/compression.s
@@ -3,19 +3,13 @@
// RUN: llvm-dwarfdump -debug-dump=info %t | FileCheck --check-prefix=INFO %s
// RUN: llvm-mc -filetype=obj -compress-debug-sections -triple i386-pc-linux-gnu < %s \
// RUN: | llvm-readobj -symbols - | FileCheck --check-prefix=386-SYMBOLS %s
-// RUN: llvm-readobj -sections %t | FileCheck --check-prefix=ZLIB %s
// REQUIRES: zlib
-// Check that debug_line section was not renamed, so it is
-// zlib-style, not zlib-gnu one. Check that SHF_COMPRESSED was set.
-// ZLIB: Section {
-// ZLIB: Index:
-// ZLIB: Name: .debug_line
-// ZLIB-NEXT: Type: SHT_PROGBITS
-// ZLIB-NEXT: Flags [
-// ZLIB-NEXT: SHF_COMPRESSED
-// ZLIB-NEXT: ]
+// CHECK: Contents of section .zdebug_line:
+// Check for the 'ZLIB' file magic at the start of the section only
+// CHECK-NEXT: ZLIB
+// CHECK-NOT: ZLIB
// Don't compress small sections, such as this simple debug_abbrev example
// CHECK: Contents of section .debug_abbrev:
@@ -36,7 +30,7 @@
// sections, so make sure we handle symbols inside compressed sections
// 386-SYMBOLS: Name: .Linfo_string0
// 386-SYMBOLS-NOT: }
-// 386-SYMBOLS: Section: .debug_str
+// 386-SYMBOLS: Section: .zdebug_str
.section .debug_line,"",@progbits
OpenPOWER on IntegriCloud