Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / bolt / test / AArch64 / data-at-0-offset.c
blobe0c689a19bedd4aa54ae5f19e22334ca40be4039
1 // RUN: %clang %cflags -O2 -fPIE -Wl,-q -pie %s -o %t.exe
2 // RUN: llvm-bolt %t.exe -o %t.bolt 2>&1 | FileCheck %s
3 // CHECK-NOT: BOLT-WARNING: unable to disassemble instruction at offset
5 void extra_space() {
6 asm volatile(".rept 256\n"
7 " .byte 0xff\n"
8 ".endr\n");
9 return;
12 int main(int argc, char **argv) {
13 void (*fn)(void);
14 fn = extra_space + 256;
15 fn();
16 return 0;