Imported Upstream version 6.10.0.49

Former-commit-id: 1d6753294b2993e1fbf92de9366bb9544db4189b
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2020-01-16 16:38:04 +00:00
parent d94e79959b
commit 468663ddbb
48518 changed files with 2789335 additions and 61176 deletions

View File

@@ -0,0 +1,2 @@
f:100:3
1: 100

View File

@@ -0,0 +1,3 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
@a = global i32 42

View File

@@ -0,0 +1,5 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
define void @zed() {
ret void
}

View File

@@ -0,0 +1,2 @@
.section .llvmbc
.incbin "bcsection.bc"

View File

@@ -0,0 +1,10 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
define i32 @main() {
entry:
call void (...) @globalfunc()
ret i32 0
}
declare void @globalfunc(...)

View File

@@ -0,0 +1,27 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
$c2 = comdat any
$c1 = comdat any
; This is only present in this file. The linker will keep $c1 from the first
; file and this will be undefined.
@will_be_undefined = global i32 1, comdat($c1)
@v1 = weak_odr global i32 41, comdat($c2)
define weak_odr protected i32 @f1(i8* %this) comdat($c2) {
bb20:
store i8* %this, i8** null
br label %bb21
bb21:
ret i32 41
}
@r21 = global i32* @v1
@r22 = global i32(i8*)* @f1
@a21 = alias i32, i32* @v1
@a22 = alias i16, bitcast (i32* @v1 to i16*)
@a23 = alias i32(i8*), i32(i8*)* @f1
@a24 = alias i16, bitcast (i32(i8*)* @f1 to i16*)
@a25 = alias i16, i16* @a24

View File

@@ -0,0 +1,11 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
$foo = comdat any
@foo = global i8 1, comdat
define void @zed() {
call void @bar()
ret void
}
define void @bar() comdat($foo) {
ret void
}

View File

@@ -0,0 +1,3 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
@a = common global i32 0, align 4

View File

@@ -0,0 +1,3 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
@a = common global i8 0, align 16

View File

@@ -0,0 +1,3 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
@a = common global i8 0, align 1

View File

@@ -0,0 +1,13 @@
source_filename = "common2.c"
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@P = external global i8* (...)*, align 8
; Function Attrs: nounwind uwtable
define void @foo() #0 {
entry:
%0 = load i8* (...)*, i8* (...)** @P, align 8
%call = call i8* (...) %0()
ret void
}

View File

@@ -0,0 +1,7 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
@llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @bar, i8* null }]
define void @bar() {
ret void
}

Binary file not shown.

View File

@@ -0,0 +1,11 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
$foo = comdat any
define linkonce void @foo() comdat {
ret void
}
define void @bar() {
call void @foo()
ret void
}

View File

@@ -0,0 +1,10 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
define void @deadfunc2_called_from_section() {
ret void
}
define void @deadfunc2_called_from_nonC_section() {
ret void
}

Binary file not shown.

View File

@@ -0,0 +1,5 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
!0 = !{ i32 1, !"foo", i32 2 }
!llvm.module.flags = !{ !0 }

View File

@@ -0,0 +1,5 @@
{
global:
f;
local: *;
};

View File

@@ -0,0 +1,20 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
define weak_odr void @f() !dbg !4 {
ret void, !dbg !10
}
!llvm.dbg.cu = !{!0}
!llvm.module.flags = !{!7, !8}
!llvm.ident = !{!9}
!0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang version 3.8.0 (trunk 251407) (llvm/trunk 251401)", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !2)
!1 = !DIFile(filename: "linkonce-weak.c", directory: ".")
!2 = !{}
!4 = distinct !DISubprogram(name: "f", scope: !1, file: !1, line: 1, type: !5, isLocal: false, isDefinition: true, scopeLine: 1, isOptimized: true, unit: !0, variables: !2)
!5 = !DISubroutineType(types: !6)
!6 = !{null}
!7 = !{i32 2, !"Dwarf Version", i32 4}
!8 = !{i32 2, !"Debug Info Version", i32 3}
!9 = !{!"clang version 3.8.0 (trunk 251407) (llvm/trunk 251401)"}
!10 = !DILocation(line: 2, column: 1, scope: !4)

View File

@@ -0,0 +1,7 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
declare i32 @g()
define i32 @main() {
call i32 @g()
ret i32 0
}

Some files were not shown because too many files have changed in this diff Show More