llvm/test/MC/X86/AlignedBundling/bundle-group-too-large-error.s
raw| 1 | # RUN: not --crash llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s |
| 2 | # RUN: not --crash llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu -mc-relax-all %s -o - 2>&1 | FileCheck %s |
| 3 | |
| 4 | # CHECK: ERROR: Fragment can't be larger than a bundle size |
| 5 | |
| 6 | .text |
| 7 | foo: |
| 8 | .bundle_align_mode 4 |
| 9 | pushq %rbp |
| 10 | |
| 11 | .bundle_lock |
| 12 | pushq %r14 |
| 13 | callq bar |
| 14 | callq bar |
| 15 | callq bar |
| 16 | callq bar |
| 17 | .bundle_unlock |
| 18 |