blob: 697b8bf6ab6c072a77ae263b6cc420acf5475df9 [file] [log] [blame]
# RUN: not --crash llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s
# RUN: not --crash llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu -mc-relax-all %s -o - 2>&1 | FileCheck %s
# CHECK: ERROR: Fragment can't be larger than a bundle size
.text
foo:
.bundle_align_mode 4
pushq %rbp
.bundle_lock
pushq %r14
callq bar
callq bar
callq bar
callq bar
.bundle_unlock