This patch is the first step to enable support of GNU attribute in LLVM PowerPC, enabling it for PowerPC targets, otherwise llvm-mc raises error when seeing the attribute section. Reviewed By: jsji Differential Revision: https://reviews.llvm.org/D115854
12 lines
248 B
ArmAsm
12 lines
248 B
ArmAsm
# RUN: llvm-mc -triple powerpc64-unknown-linux-gnu < %s | FileCheck %s
|
|
# RUN: llvm-mc -triple powerpc64le-unknown-linux-gnu < %s | FileCheck %s
|
|
|
|
.text
|
|
add:
|
|
add 3, 4, 3
|
|
blr
|
|
.gnu_attribute 4, 13
|
|
|
|
# CHECK-LABEL: add:
|
|
# CHECK: .gnu_attribute 4, 13
|