Add a generic reloc_none test
This commit is contained in:
parent
5a056672cb
commit
bd4dd9ca02
10
llvm/test/CodeGen/Generic/reloc_none.ll
Normal file
10
llvm/test/CodeGen/Generic/reloc_none.ll
Normal file
@ -0,0 +1,10 @@
|
||||
; RUN: llc < %s | FileCheck %s
|
||||
|
||||
; CHECK: .reloc {{.*}}, BFD_RELOC_NONE, foo
|
||||
|
||||
define void @test_reloc_none() {
|
||||
call void @llvm.reloc.none(metadata !"foo")
|
||||
ret void
|
||||
}
|
||||
|
||||
declare void @llvm.reloc.none(metadata)
|
Loading…
x
Reference in New Issue
Block a user