Changeset View
Changeset View
Standalone View
Standalone View
llvm/test/CodeGen/AArch64/note-gnu-property-pac-bti-7.ll
Show All 9 Lines | |||||
define dso_local i32 @g() #1 { | define dso_local i32 @g() #1 { | ||||
entry: | entry: | ||||
ret i32 0 | ret i32 0 | ||||
} | } | ||||
attributes #0 = { "sign-return-address"="non-leaf" } | attributes #0 = { "sign-return-address"="non-leaf" } | ||||
attributes #1 = { "branch-target-enforcement" } | attributes #1 = { "branch-target-enforcement"="true" } | ||||
; No common attribute, no note section | ; No common attribute, no note section | ||||
; ASM: warning: not setting BTI in feature flags | ; ASM: warning: not setting BTI in feature flags | ||||
; ASM-NOT: .note.gnu.property | ; ASM-NOT: .note.gnu.property | ||||
; OBJ-NOT: .note.gnu.property | ; OBJ-NOT: .note.gnu.property |