Skip to content

Commit f439cb6

Browse files
committed
Add a generic reloc_none test
1 parent a045626 commit f439cb6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
; RUN: llc < %s | FileCheck %s
2+
3+
; CHECK: .reloc {{.*}}, BFD_RELOC_NONE, foo
4+
5+
define void @test_reloc_none() {
6+
call void @llvm.reloc.none(metadata !"foo")
7+
ret void
8+
}
9+
10+
declare void @llvm.reloc.none(metadata)

0 commit comments

Comments
 (0)