linux-packaging-mono/external/llvm/test/MC/X86/AlignedBundling/switch-section-locked-error.s
Xamarin Public Jenkins (auto-signing) 8e12397d70 Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
2018-11-16 08:20:38 +00:00

17 lines
394 B
ArmAsm

# RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s
# This test invokes .bundle_lock and then switches to a different section
# w/o the appropriate unlock.
# CHECK: ERROR: Unterminated .bundle_lock
.bundle_align_mode 3
.section text1, "x"
imull $17, %ebx, %ebp
.bundle_lock
imull $17, %ebx, %ebp
.section text2, "x"
imull $17, %ebx, %ebp