Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Misc / cc1as-compress.s
blob54563c33bd165cb561980028ee1804eec4074509
1 // REQUIRES: zlib
2 // REQUIRES: x86-registered-target
4 // RUN: %clang -cc1as -triple i686 --compress-debug-sections %s -o /dev/null
5 // RUN: %clang -cc1as -triple i686 -compress-debug-sections=zlib %s -o /dev/null
7 // RUN: %if zstd %{ %clang -cc1as -triple x86_64 -filetype obj -compress-debug-sections=zstd %s -o %t %}
8 // RUN: %if zstd %{ llvm-readelf -S -x .debug_str %t | FileCheck %s --check-prefix=ZSTD %}
10 // ZSTD: .debug_str PROGBITS [[#%x,]] [[#%x,]] [[#%x,]] 01 MSC 0 0 8
11 // ZSTD: Hex dump of section '.debug_str':
12 // ZSTD: 0000 02000000 00000000
14 .section .debug_str,"MS",@progbits,1
15 .asciz "perfectly compressable data sample *****************************************"