Fix symbol value computation when part of the expression is weak.
[oota-llvm.git] / test / MC / X86 / sgx-encoding.s
1 // RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s
2
3 // CHECK: encls
4 // CHECK: encoding: [0x0f,0x01,0xcf]
5         encls
6
7 // CHECK: enclu
8 // CHECK: encoding: [0x0f,0x01,0xd7]
9         enclu