more buildbot failure fix to r267792

__llvm_prf_nm length is embedded in llvm_used. Relax llvm_used check.

llvm-svn: 267816
This commit is contained in:
Rong Xu 2016-04-27 23:23:53 +00:00
parent b6a36f2009
commit 3a8084117b

View File

@ -17,7 +17,7 @@ $foo = comdat any
; CHECK-SAME: null
; CHECK-SAME: , i8* null, i32 1, [1 x i16] zeroinitializer }, section "__llvm_prf_data", comdat($__profv__stdin__foo), align 8
; CHECK: @__llvm_prf_nm
; CHECK: @llvm.used = appending global [2 x i8*] [i8* bitcast ({ i64, i64, i64*, i8*, i8*, i32, [1 x i16] }* @__profd__stdin__foo to i8*), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @__llvm_prf_nm, i32 0, i32 0)], section "llvm.metadata"
; CHECK: @llvm.used
define internal i32 @foo() comdat {
entry: