brintos

brintos / llvm-project-archived public Read only

0
0
Text · 869 B · bd6ee5f Raw
39 lines · plain
1;; Check that we accept functions with '$' in the name.2; RUN: llc -mtriple=x86_64 < %s | FileCheck %s3 4;; Check that we accept .Ldsolocal$local: below the function label.5; RUN: llc -mtriple=x86_64 -relocation-model=pic < %s | FileCheck %s --check-prefix=PIC6 7;; Check that we accept .seh_proc below the function label.8; RUN: llc -mtriple=x86_64-windows -relocation-model=pic < %s | FileCheck %s --check-prefix=WIN9 10@gv0 = dso_local global i32 0, align 411@gv1 = dso_preemptable global i32 0, align 412 13define hidden i32 @"_Z54bar$ompvariant$bar"() {14entry:15  ret i32 216}17 18define dso_local i32 @dsolocal() {19entry:20  call void @ext()21  ret i32 222}23 24declare void @ext()25 26define i32 @load() {27entry:28  %a = load i32, i32* @gv029  %b = load i32, i32* @gv130  %c = add i32 %a, %b31  ret i32 %c32}33 34declare i32 @pers(...)35 36define i32 @eh() personality ptr @pers {37  ret i32 038}39