Imported Upstream version 5.18.0.167

Former-commit-id: 289509151e0fee68a1b591a20c9f109c3c789d3a
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-10-20 08:25:10 +00:00
parent e19d552987
commit b084638f15
28489 changed files with 184 additions and 3866856 deletions

View File

@@ -1,11 +0,0 @@
# RUN: llvm-nm -format darwin %p/Inputs/test.IRobj-x86_64 | FileCheck %s
# CHECK: ---------------- (LTO,RODATA) external _global_const
# CHECK: ---------------- (LTO,DATA) external _global_data
# CHECK: ---------------- (LTO,CODE) external _global_func
# CHECK: ---------------- (LTO,RODATA) private external _hidden_const
# CHECK: ---------------- (LTO,DATA) private external _hidden_data
# CHECK: ---------------- (LTO,CODE) private external _hidden_func
# CHECK: ---------------- (LTO,RODATA) non-external _static_const
# CHECK: ---------------- (LTO,DATA) non-external _static_data
# CHECK: ---------------- (LTO,CODE) non-external _static_func

View File

@@ -1,37 +0,0 @@
; RUN: llc -filetype=obj -mtriple=x86_64-pc-linux -o %t.o %s
; RUN: llvm-nm %t.o | FileCheck --check-prefix="MANGLED" %s
; RUN: llvm-nm -C %t.o | FileCheck --check-prefix="DEMANGLED" %s
; RUN: llvm-nm --demangle %t.o | FileCheck --check-prefix="DEMANGLED" %s
; RUN: llc -filetype=obj -mtriple=x86_64-apple-darwin9 -o %t.macho %s
; RUN: llvm-nm %t.macho | FileCheck --check-prefix="MACHO-MANGLED" %s
; RUN: llvm-nm -C %t.macho | FileCheck --check-prefix="DEMANGLED" %s
; RUN: llc -filetype=obj -mtriple=x86_64-pc-win32 -o %t.coff %s
; RUN: llvm-nm %t.coff | FileCheck --check-prefix="COFF-MANGLED" %s
; RUN: llvm-nm -C %t.coff | FileCheck --check-prefix="COFF-DEMANGLED" %s
define i32 @_Z3fooi(i32) #0 {
entry:
ret i32 1
}
define float @_Z3barf(float) #0 {
entry:
ret float 0.000000e+00
}
; MANGLED: 0000000000000010 T _Z3barf
; MANGLED: 0000000000000000 T _Z3fooi
; MACHO-MANGLED: 0000000000000010 T __Z3barf
; MACHO-MANGLED: 0000000000000000 T __Z3fooi
; COFF-MANGLED: 00000010 T _Z3barf
; COFF-MANGLED: 00000000 T _Z3fooi
; DEMANGLED: 0000000000000010 T bar(float)
; DEMANGLED: 0000000000000000 T foo(int)
; COFF-DEMANGLED: 00000010 T bar(float)
; COFF-DEMANGLED: 00000000 T foo(int)

View File

@@ -1,18 +0,0 @@
# RUN: llvm-nm %p/Inputs/Strip-ST.dylib.macho-x86_64 | FileCheck --check-prefix=DEFAULT %s
# RUN: llvm-nm -no-dyldinfo %p/Inputs/Strip-ST.dylib.macho-x86_64 | FileCheck --check-prefix=NO-DYLDINFO %s
# RUN: llvm-nm -dyldinfo-only %p/Inputs/Strip-ST.dylib.macho-x86_64 | FileCheck --check-prefix=DYLDINFO-ONLY %s
# DEFAULT: 0000000000000f90 T __Bob_is_slow
# DEFAULT: 0000000000001008 D __T0ims_data
# DEFAULT: 0000000000000f80 T __T0om_is_not_swift
# DEFAULT: U dyld_stub_binder
# NO-DYLDINFO: 0000000000000f90 T __Bob_is_slow
# NO-DYLDINFO-NOT: __T0ims_data
# NO-DYLDINFO-NOT: __T0om_is_not_swift
# NO-DYLDINFO: U dyld_stub_binder
# DYLDINFO-ONLY: 0000000000000f90 T __Bob_is_slow
# DYLDINFO-ONLY: 0000000000001008 D __T0ims_data
# DYLDINFO-ONLY: 0000000000000f80 T __T0om_is_not_swift
# DYLDINFO-ONLY-NOT: U dyld_stub_binder

View File

@@ -1,5 +0,0 @@
# RUN: llvm-nm -g %p/Inputs/hello.obj.macho-x86_64 | FileCheck %s
# RUN: llvm-nm -g -g %p/Inputs/hello.obj.macho-x86_64 | FileCheck %s
# CHECK-NOT: EH_frame0
# CHECK: _main

View File

@@ -1,5 +0,0 @@
# RUN: llvm-nm -gjp %p/Inputs/hello.obj.macho-x86_64 | FileCheck %s
# CHECK: _main
# CHECK: _main.eh
# CHECK: _printf

View File

@@ -1,9 +0,0 @@
# RUN: llvm-nm -B %S/Inputs/example.lib | FileCheck --match-full-lines %s
CHECK: 00000000 I __IMPORT_DESCRIPTOR_example
CHECK: 00000000 I __NULL_IMPORT_DESCRIPTOR
CHECK: 00000000 R __imp__constant
CHECK: 00000000 R _constant
CHECK: 00000000 D __imp__data
CHECK: 00000000 T __imp__function
CHECK: 00000000 T _function

View File

@@ -1,8 +0,0 @@
# RUN: llvm-nm -B -S %p/Inputs/init-fini.out.elf-x86_64 | FileCheck --match-full-lines %s
CHECK: 00000000006000c2 0000000000000000 T __bss_start
CHECK: 00000000006000c2 0000000000000000 t __init_array_end
CHECK: 00000000006000ba 0000000000000000 t __init_array_start
CHECK: 00000000006000c2 0000000000000000 T _edata
CHECK: 00000000006000c8 0000000000000000 T _end
CHECK: 00000000004000b0 0000000000000000 T _start

View File

@@ -1,8 +0,0 @@
RUN: llvm-nm %p/Inputs/macho-bad-zero-nsect-for-N_SECT | FileCheck -check-prefix DEFAULT %s
DEFAULT: 0000000000000000 S dyld_stub_binder
RUN: llvm-nm -m %p/Inputs/macho-bad-zero-nsect-for-N_SECT | FileCheck -check-prefix MACHO %s
MACHO: 0000000000000000 (?,?) private external dyld_stub_binder
RUN: llvm-nm -x %p/Inputs/macho-bad-zero-nsect-for-N_SECT | FileCheck -check-prefix HEX %s
HEX: 0000000000000000 1f 00 0000 00000024 dyld_stub_binder

View File

@@ -1,5 +0,0 @@
# RUN: llvm-nm -P -A %p/Inputs/libExample.a.macho-x86_64 | FileCheck %s
# CHECK: libExample.a.macho-x86_64[example.o]: EH_frame0 s 30 0
# CHECK: libExample.a.macho-x86_64[example.o]: _f T 0 0
# CHECK: libExample.a.macho-x86_64[example.o]: _f.eh S 48 0

View File

@@ -1,4 +0,0 @@
# RUN: llvm-nm -P %p/Inputs/hello.obj.elf-x86_64 | FileCheck %s
CHECK: main T 0 0
CHECK: puts U 0 0

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