You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
This commit is contained in:
parent
5cd5df71cc
commit
8e12397d70
21
external/llvm/test/Transforms/ThinLTOBitcodeWriter/split-vfunc-internal.ll
vendored
Normal file
21
external/llvm/test/Transforms/ThinLTOBitcodeWriter/split-vfunc-internal.ll
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
; RUN: opt -thinlto-bc -o %t %s
|
||||
; RUN: llvm-modextract -b -n 0 -o - %t | llvm-dis | FileCheck --check-prefix=M0 %s
|
||||
; RUN: llvm-modextract -b -n 1 -o - %t | llvm-dis | FileCheck --check-prefix=M1 %s
|
||||
|
||||
define [1 x i8*]* @source() {
|
||||
ret [1 x i8*]* @g
|
||||
}
|
||||
|
||||
; M0: @"g$84f59439b469192440047efc8de357fb" = external hidden constant [1 x i8*]{{$}}
|
||||
; M1: @"g$84f59439b469192440047efc8de357fb" = hidden constant [1 x i8*] [i8* bitcast (i64 (i8*)* @"ok$84f59439b469192440047efc8de357fb" to i8*)]
|
||||
@g = internal constant [1 x i8*] [
|
||||
i8* bitcast (i64 (i8*)* @ok to i8*)
|
||||
], !type !0
|
||||
|
||||
; M0: define hidden i64 @"ok$84f59439b469192440047efc8de357fb"
|
||||
; M1: define available_externally hidden i64 @"ok$84f59439b469192440047efc8de357fb"
|
||||
define internal i64 @ok(i8* %this) {
|
||||
ret i64 42
|
||||
}
|
||||
|
||||
!0 = !{i32 0, !"typeid"}
|
Reference in New Issue
Block a user