You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.225
Former-commit-id: 10196d987d5fc5564b9d3b33b1fdf13190f4d0b5
This commit is contained in:
parent
32d52ae4ca
commit
f32dbaf0b2
15
external/llvm/test/Verifier/metadata-function-prof.ll
vendored
Normal file
15
external/llvm/test/Verifier/metadata-function-prof.ll
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
; RUN: not llvm-as %s -disable-output 2>&1 | FileCheck %s
|
||||
|
||||
; CHECK: function declaration may not have a !prof attachment
|
||||
declare !prof !0 void @f1()
|
||||
|
||||
define void @f2() !prof !0 {
|
||||
unreachable
|
||||
}
|
||||
|
||||
; CHECK: function must have a single !prof attachment
|
||||
define void @f3() !prof !0 !prof !0 {
|
||||
unreachable
|
||||
}
|
||||
|
||||
!0 = !{!"function_entry_count", i64 100}
|
Reference in New Issue
Block a user