1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00
llvm-mirror/test/ThinLTO/X86/Inputs/guid_collision.ll
Teresa Johnson e9043f8a26 Recommit "[ThinLTO] Handle GUID collision in import global processing""
This recommits cc0b9647b76178bc3869bbfff80535ad86366472 which was
reverted in d39d1a2f87aca3cfabe58ecfa5146879baa70096.

I added a fix for an issue found when testing via distributed ThinLTO,
and added a test case for that failure.
2019-11-01 13:57:01 -07:00

16 lines
380 B
LLVM

target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; The source for the GUID for this symbol will be -:F
source_filename = "-"
define internal fastcc i64 @F() {
ret i64 0
}
@llvm.global_ctors = appending global [0 x { i32, void ()*, i8* }] zeroinitializer
define i64 @G() {
;%1 = load i32, i32* @dummy2, align 4
ret i64 0
}