brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.0 KiB · fe4a9c7 Raw
34 lines · plain
1; RUN: llc -mtriple i686-pc-linux < %s | FileCheck %s --check-prefix=X862; RUN: llc -mtriple x86_64-pc-linux < %s | FileCheck %s --check-prefix=X86_643; RUN: llc -mtriple x86_64-pc-linux-gnux32 < %s | FileCheck %s --check-prefix=X864 5; This test checks that the compiler emits a .note.gnu.property section for6; modules with "cf-protection" module flags.7 8; X86:      .section        .note.gnu.property,"a",@note9; X86-NEXT: .p2align 210; X86-NEXT: .long    411; X86-NEXT: .long    1212; X86-NEXT: .long    513; X86-NEXT: .asciz   "GNU"14; X86-NEXT: .long    322122547415; X86-NEXT: .long    416; X86-NEXT: .long    317; X86-NEXT: .p2align 218 19; X86_64:      .section        .note.gnu.property,"a",@note20; X86_64-NEXT: .p2align 321; X86_64-NEXT: .long    422; X86_64-NEXT: .long    1623; X86_64-NEXT: .long    524; X86_64-NEXT: .asciz   "GNU"25; X86_64-NEXT: .long    322122547426; X86_64-NEXT: .long    427; X86_64-NEXT: .long    328; X86_64-NEXT: .p2align 329 30!llvm.module.flags = !{!0, !1}31 32!0 = !{i32 8, !"cf-protection-return", i32 1}33!1 = !{i32 8, !"cf-protection-branch", i32 1}34