2013-07-04 00:41:29 +08:00
|
|
|
# RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s
|
2015-04-13 07:42:25 +08:00
|
|
|
# RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu -mc-relax-all %s -o - 2>&1 | FileCheck %s
|
2012-12-21 03:07:30 +08:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|